fix: unhandledRejection log level

This commit is contained in:
yanlong.wang 2025-03-10 15:31:38 +08:00
parent a9855dcd3b
commit c064fcf77e
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -26,7 +26,7 @@ export class FinalizerService extends AbstractFinalizerService {
}
override onUnhandledRejection(err: unknown, _triggeringPromise: Promise<unknown>): void {
this.logger.error(`Unhandled promise rejection in pid ${process.pid}`, { err });
this.logger.warn(`Unhandled promise rejection in pid ${process.pid}`, { err });
}
}