Explorar o código

Remove unnecessary logging from FileConverter

Simon Detheridge %!s(int64=6) %!d(string=hai) anos
pai
achega
ac2d05ecb3
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  1. 0 11
      services/filestore/app/js/FileConverter.js

+ 0 - 11
services/filestore/app/js/FileConverter.js

@@ -90,17 +90,6 @@ async function _convert(sourcePath, requestedFormat, command) {
       timeout: FOURTY_SECONDS
     })
   } catch (err) {
-    logger.err(
-      {
-        err,
-        stderr: err.stderr,
-        command,
-        sourcePath,
-        requestedFormat,
-        destPath
-      },
-      'something went wrong converting file'
-    )
     throw new ConversionError({
       message: 'something went wrong converting file',
       info: { stderr: err.stderr, sourcePath, requestedFormat, destPath }