Seems like a fairly straight forward problem, but I\'d like to log a stack trace when my top level error handler in Scalatra is triggered. I\'m intentionally throwing an excepti
This question has several ways to convert an exception stack trace to a String. printStackTrace outputs to System.err unless you provide a writer.