Fix for null stacktraces
Merge pull request #21 from Orif/patch-2

Fix for null stacktraces