stacktrace logged on error