Explorar el Código

[logging] do not overwrite the logger name

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
Jakob Ackermann hace 7 años
padre
commit
ed97fcfcd0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/filestore/app/coffee/FSPersistorManager.coffee

+ 1 - 1
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)