Dump stacktrace on error.

Dump stacktrace and display END log message even after error.