Antti / rust-amqp

AMQP client in pure rust. Corresponds to rabbitmq spec.
MIT License
247 stars 45 forks source link

rust-amqp is too prone to panics #15

Open lucab opened 9 years ago

lucab commented 9 years ago

There are many panic-points in rust-amqp and most of them are undocumented. Applications can easily blow up on those, so there is work in progress to remove those in favor of traditional error signaling.

Culprits observed so far:

Antti commented 9 years ago

Removed most of the unwrap calls, there are still few left in basic, session and examples.

onelson commented 5 years ago

I'm mitigating by wrapping each place I call amqp in a thread spawn so that I can retry on error. Is there a better way to manage this?