lib/jersey/extensions/error_handler.rb in jersey-0.0.3 vs lib/jersey/extensions/error_handler.rb in jersey-0.1.0
- old
+ new
@@ -19,9 +19,10 @@
status(500)
end
json(error: {
type: e.class.name.split('::').last,
+ request_id: env['REQUEST_ID'],
message: e.message,
backtrace: e.backtrace
})
end
end