Remove dead code.

This commit is contained in:
Paulo Gustavo Veiga
2024-02-18 18:35:51 -08:00
parent aa75aefe66
commit 4c9af90815
3 changed files with 5 additions and 88 deletions

View File

@@ -50,7 +50,7 @@ public class BaseController {
private ResourceBundleMessageSource messageSource;
@Autowired
ServletContext context;
private ServletContext context;
@Autowired
private NotificationService notificationService;
@@ -125,7 +125,6 @@ public class BaseController {
public RestErrors handleServerErrors(@NotNull Exception ex, @NotNull HttpServletRequest request) {
logger.error(ex.getMessage(), ex);
final Account user = Utils.getUser(false);
notificationService.reportJavaException(ex, user, request);
return new RestErrors(ex.getMessage(), Severity.SEVERE);
}