Remove unnecessary logging from FileConverter

This commit is contained in:
Simon Detheridge 2019-12-23 16:03:01 +00:00
parent b6a1ea6a30
commit ac2d05ecb3

View file

@ -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 }