Dump stacktrace on error.
Merge pull request #162 from maxigit/51558333_stacktrace_not_available_on_s2_apps

Dump stacktrace on error.