fix: another lint err

This commit is contained in:
zkldi
2022-12-28 16:01:33 +00:00
parent e8482f6c40
commit 670948b382
@@ -28,7 +28,7 @@ export const CreateMulterSingleUploadMiddleware = (
"File provided was too large, corrupt, or provided in the wrong field.",
});
} else if (err !== undefined && err !== null) {
logger.error(`Unknown file import error: ${err}`, { err });
logger.error(`Unknown file import error.`, { err });
return res.status(500).json({
success: false,