mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 20:01:15 +00:00
Log a message when the web api produces a 404 response.
This commit is contained in:
parent
575bdc62ec
commit
810bddb2cb
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ module.exports = WebApiManager =
|
|||
if error?
|
||||
return callback(error)
|
||||
if res.statusCode == 404
|
||||
logger.log url: url, "got 404 from web api"
|
||||
return callback null, null
|
||||
if res.statusCode >= 200 and res.statusCode < 300
|
||||
return callback null, body
|
||||
|
|
Loading…
Reference in a new issue