fix #1499 improve log messages
This commit is contained in:
parent
268d4e77ce
commit
bc09bf5a56
3 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue