Просмотр исходного кода

Remove unnecessary logging from FileConverter

Simon Detheridge 6 лет назад
Родитель
Сommit
ac2d05ecb3
1 измененных файлов с 0 добавлено и 11 удалено
  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
       timeout: FOURTY_SECONDS
     })
     })
   } catch (err) {
   } catch (err) {
-    logger.err(
-      {
-        err,
-        stderr: err.stderr,
-        command,
-        sourcePath,
-        requestedFormat,
-        destPath
-      },
-      'something went wrong converting file'
-    )
     throw new ConversionError({
     throw new ConversionError({
       message: 'something went wrong converting file',
       message: 'something went wrong converting file',
       info: { stderr: err.stderr, sourcePath, requestedFormat, destPath }
       info: { stderr: err.stderr, sourcePath, requestedFormat, destPath }