♻️Added specific Exception to be monitored to one-of storage strategy
This commit is contained in:
committed by
Anton Shepilov
parent
da9736e23b
commit
f76a04ddbf
@@ -36,7 +36,9 @@ export async function convertFromPdf(
|
||||
//Just no more page to convert
|
||||
}
|
||||
} catch (error) {
|
||||
const pdfConversionError = new PDFConversionError("Can't convert file with pdf-image.", { cause: error });
|
||||
const pdfConversionError = new PDFConversionError("Can't convert file with pdf-image.", {
|
||||
cause: error,
|
||||
});
|
||||
logger.error(pdfConversionError);
|
||||
for (const file of pages) {
|
||||
cleanFiles([file]);
|
||||
|
||||
Reference in New Issue
Block a user