Merge branch 'dev' into add_ldap_admin_group

This commit is contained in:
mjeremym2 2024-06-04 09:16:58 +01:00 committed by GitHub
commit d91f99f38e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class ApiExceptionHandler {
@ExceptionHandler(Throwable.class)
public Result<Object> exceptionHandler(Throwable e, HandlerMethod hm) {
ApiException ce = hm.getMethodAnnotation(ApiException.class);
log.error("Meet en unknown exception: ", e);
log.error("Meet an unknown exception: ", e);
if (ce == null) {
return Result.errorWithArgs(Status.INTERNAL_SERVER_ERROR_ARGS, e.getMessage());
}