Skip to content

Commit

Permalink
Minor Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Mar 24, 2024
1 parent 0a247d9 commit 2405bd9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package de.cuioss.portal.ui.runtime.exception;

import java.io.Serial;
import java.io.Serializable;
import java.util.Optional;
import java.util.UUID;
Expand Down Expand Up @@ -54,6 +55,7 @@ public class FallBackExceptionHandler implements Serializable {

private static final CuiLogger LOGGER = new CuiLogger(FallBackExceptionHandler.class);

@Serial
private static final long serialVersionUID = -1197300817644970750L;

private static final String SYSTEM_ERROR = "System error";
Expand Down Expand Up @@ -125,7 +127,7 @@ public void handleFallBack(final ExceptionAsEvent exceptionEvent) {
}

} else {
LOGGER.error(UNSPECIFIED_EXCEPTION_WITHOUT_VIEW, throwable);
LOGGER.error(throwable, UNSPECIFIED_EXCEPTION_WITHOUT_VIEW);
exceptionEvent.handled(HandleOutcome.LOGGED);
}
}
Expand Down

0 comments on commit 2405bd9

Please sign in to comment.