diff --git a/backend/src/plugins/Utility/commands/JumboCmd.ts b/backend/src/plugins/Utility/commands/JumboCmd.ts index bbbcd50e..3dd1d30a 100644 --- a/backend/src/plugins/Utility/commands/JumboCmd.ts +++ b/backend/src/plugins/Utility/commands/JumboCmd.ts @@ -77,7 +77,13 @@ export const JumboCmd = utilityCmd({ } catch (err) { if (url.toLocaleLowerCase().endsWith("fe0f.png")) { url = url.slice(0, url.lastIndexOf("-fe0f")) + ".png"; - image = await resizeBuffer(await getBufferFromUrl(url), size, size); + try { + image = resizeBuffer(await getBufferFromUrl(url), size, size); + } catch { + // It's fine if this fails, we just don't jumbo then. + // The errors here are usually some internal errors in the photon WASM code anyway, + // so we can't do anything about it. + } } } if (!image) {