mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
fix lint errors
This commit is contained in:
parent
20dd66f735
commit
83869e1c47
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue