Fix error when previous exception received is null
Merge pull request #8 from wallsfantasy/stack_trace

Fix error when previous exception received is null