diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-19 13:21:08 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-19 13:21:08 -0300 |
commit | 0e613cf94a3fade7050fc2e50e8bfbab8d532ad2 (patch) | |
tree | a17bf8118ef822a04ed61dcef8b5711467f54b41 /src | |
parent | d09e04b155fe2ed3d0681edf14f7de67ae8be61c (diff) |
thumbs: probably fix using wrong convert command??
Diffstat (limited to 'src')
-rw-r--r-- | src/gen-thumbs.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js index 18d1964d..65f0a4da 100644 --- a/src/gen-thumbs.js +++ b/src/gen-thumbs.js @@ -250,7 +250,11 @@ async function getImageMagickVersion(binary) { allData += data.toString(); }); - await promisifyProcess(proc, false); + try { + await promisifyProcess(proc, false); + } catch (error) { + return null; + } if (!allData.match(/ImageMagick/i)) { return null; |