Faststream application does not close it in case of error on startup event! #1910
Unanswered
fraFerrari99
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm new with Faststream but I'm facing a particular error, that is related to the fact that when, inside the on_startup event, the application faces some errors, it calls the on_shutdown event but does not really close, it remains open! I can add the sys.exit(-1) line of code in the on_shutdown method, but I wanted to ask you why it does not close it at the end of the on_shutdown?
Beta Was this translation helpful? Give feedback.
All reactions