Skip to content

Commit

Permalink
Try to catch more errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Heromyth committed May 19, 2020
1 parent 7ec1bc6 commit 26a8d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/hunt/amqp/client/impl/AmqpReceiverImpl.d
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class AmqpReceiverImpl : AmqpReceiver {
if (autoAck) {
message.accepted();
}
} catch (Exception e) {
} catch (Throwable e) {
logError("Unable to dispatch the AMQP message");
version(HUNT_DEBUG) warning(e);
if (autoAck) {
Expand Down

0 comments on commit 26a8d8d

Please sign in to comment.