Skip to content

Commit

Permalink
Update BadLogApp to avoid overriding deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
rhowe committed Feb 2, 2022
1 parent 6af0baf commit 1c2039d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class BadLogApp extends Application<Configuration> {
private static final Logger LOGGER = LoggerFactory.getLogger(BadLogApp.class);

@Override
protected void onFatalError() {
protected void onFatalError(Throwable t) {
LOGGER.warn("Mayday we're going down");
}

Expand Down

0 comments on commit 1c2039d

Please sign in to comment.