Fixed a few things related to thumbnails
All checks were successful
/ Build the server (push) Successful in 2m25s

This commit is contained in:
Mutzi 2025-04-08 14:51:25 +02:00
parent 8ca8cfd16f
commit 0306a98936
Signed by: root
GPG Key ID: 2437494E09F13876

View File

@ -49,8 +49,9 @@ public class Node {
.allowOverwrite(true) .allowOverwrite(true)
.outputFormat("png") .outputFormat("png")
.toFile(previewFile); .toFile(previewFile);
} catch (UnsupportedFormatException ignored) {}
hasPreview = true; hasPreview = true;
} catch (UnsupportedFormatException | IllegalStateException ignored) {
hasPreview = false;
}
} }
} }