Skip to content
This repository
  • 2 commits
  • 1 file changed
  • 0 comments
  • 1 contributor
3  ...ounge-dispatcher/src/main/java/ch/entwine/weblounge/dispatcher/impl/handler/ImageRequestHandlerImpl.java
@@ -394,6 +394,7 @@ public boolean service(WebloungeRequest request, WebloungeResponse response) {
394 394 FileUtils.deleteQuietly(f);
395 395 f = f.getParentFile();
396 396 }
  397 + logger.error("Scaled image '{}' has content length 0", imageURI);
397 398 DispatchUtils.sendInternalError(request, response);
398 399 return true;
399 400 }
@@ -443,7 +444,7 @@ void addPreviewGenerator(ImagePreviewGenerator generator) {
443 444 previewGenerators.add(generator);
444 445 Collections.sort(previewGenerators, new Comparator<PreviewGenerator>() {
445 446 public int compare(PreviewGenerator a, PreviewGenerator b) {
446   - return Integer.valueOf(a.getPriority()).compareTo(b.getPriority());
  447 + return Integer.valueOf(b.getPriority()).compareTo(a.getPriority());
447 448 }
448 449 });
449 450 }

No commit comments for this range

Something went wrong with that request. Please try again.