alicenet / utilities

Utilities for the AliceNet project
MIT License
1 stars 0 forks source link

Frontend server doesn't gracefully shutdown #43

Closed ghost closed 2 years ago

ghost commented 2 years ago

Describe the bug

Upon receiving a signal, the frontend shuts down. When the http listener returns, it returns a sentinel error indicating shutdown, which then results in a panic. This triggers Google Cloud Error Reporting.

To Reproduce

Run frontend, send a SIGINT with ctrl-c.

Expected behavior

Server shuts down gracefully without a panic.