lib/fluent/plugin/out_gcloud_pubsub.rb in fluent-plugin-gcloud-pubsub-0.0.1 vs lib/fluent/plugin/out_gcloud_pubsub.rb in fluent-plugin-gcloud-pubsub-0.0.2
- old
+ new
@@ -54,11 +54,12 @@
messages.each do |m|
batch.publish m
end
end
end
- rescue
+ rescue => e
log.error "unexpected error", :error=>$!.to_s
log.error_backtrace
+ raise e
end
end
end