aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish@cloudron.io>2020-12-11 12:02:32 -0800
committerChocobozzz <chocobozzz@cpy.re>2020-12-12 08:50:59 +0100
commit75594f474a3e04086b37a014d23e89780ca67458 (patch)
treed09e3f850fbc5b95462070412f4fb120e524302e /server.ts
parentfffc7c08649ead08007f9cf6d80d87a14ae05703 (diff)
downloadPeerTube-75594f474a3e04086b37a014d23e89780ca67458.tar.gz
PeerTube-75594f474a3e04086b37a014d23e89780ca67458.tar.zst
PeerTube-75594f474a3e04086b37a014d23e89780ca67458.zip
do not crash if SMTP server is down
just log a warning if the SMTP server is down on startup time fixes #3457
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 8a762a905..edfbab3d7 100644
--- a/server.ts
+++ b/server.ts
@@ -249,7 +249,7 @@ async function startApplication () {
249 Emailer.Instance.init() 249 Emailer.Instance.init()
250 250
251 await Promise.all([ 251 await Promise.all([
252 Emailer.Instance.checkConnectionOrDie(), 252 Emailer.Instance.checkConnection(),
253 JobQueue.Instance.init() 253 JobQueue.Instance.init()
254 ]) 254 ])
255 255