dump exception stack trace to STDOUT in production

Is there access to the logger in this context? If so we should use that instead.

see also #458 #360