Skip to content

Commit ba3ade6

Browse files
committed
remove try catch when starting server
1 parent 90dc459 commit ba3ade6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/host/src/lib/host.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,7 @@ export class Host implements IComponent {
259259
this.monitoringServer = new MonitoringServer({ port, validator: async () => {
260260
return await this.loadCheck.getLoadCheck();
261261
} });
262-
try {
263-
this.monitoringServer.startServer();
264-
} catch (e: any) {
265-
this.logger.error("unable to start monitoring server", e.message);
266-
}
262+
this.monitoringServer.startServer();
267263
}
268264
getId() {
269265
let id = this.config.host.id;

0 commit comments

Comments
 (0)