Skip to content

Commit

Permalink
Log all errors in DiskCacheGarbageCollectorIdleTask
Browse files Browse the repository at this point in the history
  • Loading branch information
rsalvador committed Oct 27, 2024
1 parent 492d158 commit 5e3abf5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ public void run() {
logger.atInfo().log("Disk cache garbage collection started");
CollectionStats stats = gc.run();
logger.atInfo().log("%s", stats.displayString());
} catch (IOException e) {
logger.atInfo().withCause(e).log("Disk cache garbage collection failed");
} catch (InterruptedException e) {
logger.atInfo().withCause(e).log("Disk cache garbage collection interrupted");
} catch (Throwable e) {
logger.atWarning().withCause(e).log("Disk cache garbage collection failed");
}
}
}

0 comments on commit 5e3abf5

Please sign in to comment.