Skip to content
Discussion options

You must be logged in to vote

We tend to just have a panic handler for the entire application (usually to print the message to our logging system). Panics should not be used for regular error handling like this. In tokio the panic will catch and just cancel the task.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@EarvinKayonga
Comment options

@BatmanAoD
Comment options

@LucioFranco
Comment options

@BatmanAoD
Comment options

Answer selected by EarvinKayonga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants