fix lint errors
This commit is contained in:
@@ -126,7 +126,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
|
|||||||
) {
|
) {
|
||||||
this.logger = this.queueLoggerService.logger;
|
this.logger = this.queueLoggerService.logger;
|
||||||
|
|
||||||
function renderError(e: Error) {
|
function renderError(e?: Error) {
|
||||||
if (e instanceof Bull.UnrecoverableError) {
|
if (e instanceof Bull.UnrecoverableError) {
|
||||||
return {
|
return {
|
||||||
stack: undefined,
|
stack: undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user