public ActionResult convert(Throwable exception) {
        ExceptionConvertor exceptionConvertor = EXCEPTION_CONVERTOR_MAP.get(exception.getClass());
        if (exceptionConvertor == null) {
            if (exception instanceof BusinessException) {
                exceptionConvertor = EXCEPTION_CONVERTOR_MAP.get(BusinessException.class);
            } else if (exception instanceof SystemException) {
                exceptionConvertor = EXCEPTION_CONVERTOR_MAP.get(SystemException.class);
            } else {
                exceptionConvertor = DEFAULT_EXCEPTION_CONVERTOR;
            }
        }
        return exceptionConvertor.convert(exception);
    }
Unknown exception requires manual intervention to view logs

@param request   request
@param exception exception
@return return
chat2db-server/chat2db-server-web-start/src/main/java/ai/chat2db/server/web/start/exception/EasyControllerExceptionHandler.java