Add stacktrace to output