app/controllers/cloudenvoy/subscriber_controller.rb in cloudenvoy-0.4.0 vs app/controllers/cloudenvoy/subscriber_controller.rb in cloudenvoy-0.4.1
- old
+ new
@@ -20,13 +20,11 @@
Subscriber.execute_from_descriptor(msg_descriptor)
head :no_content
rescue InvalidSubscriberError
# 404: Message delivery will be retried
head :not_found
- rescue StandardError => e
+ rescue StandardError
# 422: Message delivery will be retried
- Cloudenvoy.logger.error(e)
- Cloudenvoy.logger.error(e.backtrace.join("\n"))
head :unprocessable_entity
end
private