diff options
Diffstat (limited to 'server/helpers/utils.ts')
-rw-r--r-- | server/helpers/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts index 3b618360b..c58117219 100644 --- a/server/helpers/utils.ts +++ b/server/helpers/utils.ts | |||
@@ -44,7 +44,7 @@ function createReqFiles ( | |||
44 | try { | 44 | try { |
45 | randomString = await generateRandomString(16) | 45 | randomString = await generateRandomString(16) |
46 | } catch (err) { | 46 | } catch (err) { |
47 | logger.error('Cannot generate random string for file name.', err) | 47 | logger.error('Cannot generate random string for file name.', { err }) |
48 | randomString = 'fake-random-string' | 48 | randomString = 'fake-random-string' |
49 | } | 49 | } |
50 | 50 | ||