mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader.git
synced 2025-08-20 00:59:04 +08:00
fix: unhandledRejection log level
This commit is contained in:
parent
a9855dcd3b
commit
c064fcf77e
@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user