mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
[logging] do not overwrite the logger name
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
parent
c5e1584fcc
commit
ed97fcfcd0
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ module.exports =
|
||||||
if err?
|
if err?
|
||||||
logger.err location:location, target:target, fsPath:fsPath, err:err, "something went wrong writing stream to disk"
|
logger.err location:location, target:target, fsPath:fsPath, err:err, "something went wrong writing stream to disk"
|
||||||
return callback err
|
return callback err
|
||||||
@sendFile location, target, fsPath, (err) ->
|
@sendFile location, target, fsPath, (err) ->
|
||||||
# delete the temporary file created above and return the original error
|
# delete the temporary file created above and return the original error
|
||||||
LocalFileWriter.deleteFile fsPath, () ->
|
LocalFileWriter.deleteFile fsPath, () ->
|
||||||
callback(err)
|
callback(err)
|
||||||
|
|
Loading…
Reference in a new issue