fix lint errors

This commit is contained in:
Hazel K 2024-10-08 10:14:33 -04:00
parent 20dd66f735
commit 83869e1c47

View file

@ -126,7 +126,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
) {
this.logger = this.queueLoggerService.logger;
function renderError(e: Error) {
function renderError(e?: Error) {
if (e instanceof Bull.UnrecoverableError) {
return {
stack: undefined,