Skip to content

Conversation

avallete
Copy link
Member

@avallete avallete commented Apr 9, 2025

So we can understand better what cause the ending of the container

So we can understand better what cause the ending of the container
@avallete avallete requested review from a team as code owners April 9, 2025 09:51
@avallete avallete requested a review from soedirgo April 9, 2025 09:51
adminApp.listen({ port: adminPort, host: PG_META_HOST }, (err) => {
if (err) {
app.log.error({ err }, 'Uncaught error in adminApp, exit(1)')
process.exit(1)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note

This one I'm not sure, should we exit 1 in such case ? It seems like this would happen anyways since we'll pass by the hook 'onClose' 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s leave them in just to be safe?

@coveralls
Copy link

coveralls commented Apr 9, 2025

Pull Request Test Coverage Report for Build 14377261827

Details

  • 0 of 40 (0.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.3%) to 75.561%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/server/server.ts 0 40 0.0%
Files with Coverage Reduction New Missed Lines %
src/server/server.ts 1 0.0%
Totals Coverage Status
Change from base Build 14376455816: -0.3%
Covered Lines: 4984
Relevant Lines: 6516

💛 - Coveralls
@avallete avallete merged commit d64602f into master Apr 10, 2025
5 checks passed
@avallete avallete deleted the fix/add-graceful-exit-logging branch April 10, 2025 21:44
avallete added a commit that referenced this pull request May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants