fix issues brought up by coderabbit

This commit is contained in:
Amruth Pillai
2025-01-11 16:13:04 +01:00
parent 9b20c46348
commit 3b73dcf29d
2 changed files with 7 additions and 5 deletions

View File

@ -204,8 +204,10 @@ export class PrinterService {
return resumeUrl;
} catch (error) {
// eslint-disable-next-line no-console
console.trace(error);
throw new InternalServerErrorException(
ErrorMessage.ResumePrinterError,
(error as Error).message,
);
}
}