bschmitt / laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages
MIT License
270 stars 86 forks source link

Fix passing through exception in the consumer #5

Closed SpaceK33z closed 8 years ago

SpaceK33z commented 8 years ago

By throwing a new exception the existing exception will be stringified. As a result, you can't use try/catch statements for e.g. AMQPTimeoutException. This should fix it.