fix #1499 improve log messages

This commit is contained in:
Shinsuke Sugaya 2018-02-12 23:04:27 +09:00
parent 268d4e77ce
commit bc09bf5a56
3 changed files with 3 additions and 3 deletions

View file

@ -121,7 +121,7 @@ public class GenerateThumbnailJob {
try {
executeThumbnailGenerator();
} catch (final Exception e) {
logger.error("Failed to purge user info.", e);
logger.error("Failed to generate thumbnails.", e);
resultBuf.append(e.getMessage()).append("\n");
}

View file

@ -29,7 +29,7 @@ public class PurgeThumbnailJob {
final long count = ComponentUtil.getThumbnailManager().purge(getExpiry());
return "Deleted " + count + " thumbnail files.";
} catch (final Exception e) {
logger.error("Failed to purge user info.", e);
logger.error("Failed to purge thumbnails.", e);
return e.getMessage();
}
}

View file

@ -121,7 +121,7 @@ public class SuggestJob {
try {
executeSuggestCreator();
} catch (final Exception e) {
logger.error("Failed to purge user info.", e);
logger.error("Failed to create suggest data.", e);
resultBuf.append(e.getMessage()).append("\n");
}