Passing collected stacktrace to error handler.