소스 검색

Remove unnecessary logging from FileConverter

Simon Detheridge 7 년 전
부모
커밋
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
     })
   } 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 }