[TIMODOPEN-265] Checking if error is nil in handleTransaction to avoid crash
Converting tabs to spaces for consistency
Merge pull request #2 from jonalter/TIMODOPEN-265

[TIMODOPEN-265] Checking if error is nil in handleTransaction to avoid c...