[core] logger warning

This commit is contained in:
devlikepro committed 2024-08-07 17:29:10 +07:00
1 parent 66146532e1
commit 8c90bc6808
1 file changed
+4 -1
+4 -1
View File
@@ -251,7 +251,10 @@ export class SessionManagerCore extends SessionManager {
try {
engineInfo = await promiseTimeout(10, this.session.getEngineInfo());
} catch (e) {
this.log.warn('Error while getting engine info', e);
this.log.warn(
{ session: this.session },
'Error while getting engine info',
);
}
}
const engine = {