Only specify stacktrace if asked for