log unhandled panic with stacktrace and return ErrorMsg with code 1
Merge pull request #4 from m0sth8/stacktrace-logging

log unhandled panic with stacktrace and return ErrorMsg with code 1