We should log the exception object here, not just its stringification. I'd also recommend a better error message... something like: `Logger.error(s"Unhandled exception: ${t.getMessage}", t)`