diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-19 16:02:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-21 17:38:13 +0200 |
commit | 12dc3a942a13c7f1489822dae052da197ef15905 (patch) | |
tree | 7b87b6be692af0b62ebac17e720c80244fd8a7ec /server/helpers/image-utils.ts | |
parent | c6867725fb8e3dfbc2018a37ed5a963103587cb6 (diff) | |
download | PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.tar.gz PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.tar.zst PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.zip |
Implement replace file in server side
Diffstat (limited to 'server/helpers/image-utils.ts')
-rw-r--r-- | server/helpers/image-utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/helpers/image-utils.ts b/server/helpers/image-utils.ts index 7b77e694a..2a8bb6e6e 100644 --- a/server/helpers/image-utils.ts +++ b/server/helpers/image-utils.ts | |||
@@ -63,6 +63,8 @@ async function generateImageFromVideoFile (options: { | |||
63 | } catch (err) { | 63 | } catch (err) { |
64 | logger.debug('Cannot remove pending image path after generation error.', { err, ...lTags() }) | 64 | logger.debug('Cannot remove pending image path after generation error.', { err, ...lTags() }) |
65 | } | 65 | } |
66 | |||
67 | throw err | ||
66 | } | 68 | } |
67 | } | 69 | } |
68 | 70 | ||