Skip to content

What will happens if an controller handler occurs an exception #2135

Answered by an-tao
shar0 asked this question in Q&A
Discussion options

You must be logged in to vote

Any exception in the IO thread that escapes from the user handler will be caught by drogon and handled in a global function. Users can use the setExceptionHandler method of drogon::app() to customize the handling process.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shar0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants