make stacktrace available anywhere