Remove stacktrace from exception