diff options
Diffstat (limited to 'server/lib/emailer.ts')
-rw-r--r-- | server/lib/emailer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index f34d141ea..85cc725fa 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts | |||
@@ -119,7 +119,7 @@ class Emailer { | |||
119 | } | 119 | } |
120 | 120 | ||
121 | private dieOnConnectionFailure (err?: Error) { | 121 | private dieOnConnectionFailure (err?: Error) { |
122 | logger.error('Failed to connect to SMTP %s:%d.', CONFIG.SMTP.HOSTNAME, CONFIG.SMTP.PORT, err) | 122 | logger.error('Failed to connect to SMTP %s:%d.', CONFIG.SMTP.HOSTNAME, CONFIG.SMTP.PORT, { err }) |
123 | process.exit(-1) | 123 | process.exit(-1) |
124 | } | 124 | } |
125 | 125 | ||