replace error with warning for archiving timeout

This commit is contained in:
Brian Gough 2017-05-09 13:58:40 +01:00
parent 0e8a924f28
commit 9936710a1a

View file

@ -87,7 +87,7 @@ processUpdates = (pending) ->
logger.error {err, result}, "error in pack archive worker" logger.error {err, result}, "error in pack archive worker"
return callback(err) return callback(err)
if shutDownRequested if shutDownRequested
logger.error "shutting down pack archive worker" logger.warn "shutting down pack archive worker"
return callback(new Error("shutdown")) return callback(new Error("shutdown"))
setTimeout () -> setTimeout () ->
callback(err, result) callback(err, result)