From ed97fcfcd00099758738bc9c8083e19dde9e94fd Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Thu, 2 May 2019 01:26:35 +0200 Subject: [PATCH] [logging] do not overwrite the logger name Signed-off-by: Jakob Ackermann --- services/filestore/app/coffee/FSPersistorManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/filestore/app/coffee/FSPersistorManager.coffee b/services/filestore/app/coffee/FSPersistorManager.coffee index 7d17f6d10a..38e30f284f 100644 --- a/services/filestore/app/coffee/FSPersistorManager.coffee +++ b/services/filestore/app/coffee/FSPersistorManager.coffee @@ -36,7 +36,7 @@ module.exports = if err? logger.err location:location, target:target, fsPath:fsPath, err:err, "something went wrong writing stream to disk" return callback err - @sendFile location, target, fsPath, (err) -> + @sendFile location, target, fsPath, (err) -> # delete the temporary file created above and return the original error LocalFileWriter.deleteFile fsPath, () -> callback(err)