Skip to content

Commit

Permalink
Merge pull request bschmitt#5 from CodeYellowBV/fix-consumer-exception
Browse files Browse the repository at this point in the history
Fix passing through exception in the consumer
  • Loading branch information
bschmitt committed Feb 10, 2016
2 parents 351e810 + 93d2ad2 commit 149700c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Consumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function ($message) use ($closure, $object) {
return true;
}

throw new \Exception($e);
throw $e;
}

return true;
Expand Down

0 comments on commit 149700c

Please sign in to comment.