handleGeneral

@ExceptionHandler(value = [Exception::class])
fun handleGeneral(ex: Exception, request: HttpServletRequest): ProblemDetail(source)

Trata todas as exceções não capturadas (500 Internal Server Error) Este é o handler de último recurso - captura erros inesperados.

IMPORTANTE: Reporta ao Sentry para investigação.