Skip to content

Commit

Permalink
fix: log all error messages during service startup, not just `HostDoe…
Browse files Browse the repository at this point in the history
…sNotExist`
  • Loading branch information
rhyslbw committed Jun 15, 2021
1 parent 93a34db commit c81aad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export * from './config'
await worker.start()
await chainFollower.start(points)
} catch (error) {
logger.error(error.message)
if (error instanceof errors.HostDoesNotExist) {
logger.error(error.message)
process.exit(1)
}
}
Expand Down

0 comments on commit c81aad8

Please sign in to comment.