Skip to content

Commit

Permalink
[core] await start
Browse files Browse the repository at this point in the history
  • Loading branch information
devlikepro committed Oct 16, 2024
1 parent bf794ce commit 964d8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/abc/manager.abc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export abstract class SessionManager implements BeforeApplicationShutdown {
this.withLock(sessionName, async () => {
const log = this.log.logger.child({ session: sessionName });
log.info(`Restarting PREDEFINED session...`);
this.start(sessionName).catch((error) => {
await this.start(sessionName).catch((error) => {
log.error(`Failed to start PREDEFINED session: ${error}`);
log.error(error.stack);
});
Expand Down

0 comments on commit 964d8dd

Please sign in to comment.