lib/nats/rpc/servant.rb in nats-rpc-0.2.0 vs lib/nats/rpc/servant.rb in nats-rpc-0.2.1
- old
+ new
@@ -55,9 +55,10 @@
end
block_call_stopped_at = Time.now
if block_call_exception
err_msg = error_message(2.0, {
+ exception: block_call_exception.class.name,
message: block_call_exception.message,
backtrace: block_call_exception.backtrace
})
return @nats.publish reply, err_msg