Skip to content

Commit cdb4416

Browse files
committed
Also print dns / internet connection errors
1 parent aab7ea1 commit cdb4416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/agent/Agent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ export class Agent {
469469
this.startHeartbeats();
470470
this.startPollingForConfigChanges();
471471
})
472-
.catch(() => {
473-
this.logger.log("Failed to start agent");
472+
.catch((err) => {
473+
console.error(`Failed to start agent: ${err.message}`);
474474
});
475475
}
476476

0 commit comments

Comments
 (0)