Skip to content

Commit

Permalink
Log D-Bus exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Jan 19, 2025
1 parent 4a47fb6 commit c8b1fde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ final boolean init() {
screenSaverType.objectpath, screenSaverType.clazz);
screenSaverCookie = screenSaver.Inhibit(Constants.APPLICATION_NAME, "Feeder running");
break;
} catch (final DBusException | DBusExecutionException _) {
// ignore errors caused by D-Bus
} catch (final DBusException | DBusExecutionException e) {
log.log(Level.WARNING, e.getMessage(), e);
}
}
}
Expand Down

0 comments on commit c8b1fde

Please sign in to comment.