--- http_interactions: - request: method: get uri: https://api.bugsnag.com/errors/BUGSNAG_ERROR_ID/latest_event body: encoding: US-ASCII string: '' headers: User-Agent: - Bugsnag API Ruby Gem 2.0.1 Content-Type: - application/json X-Version: - '2' X-Bugsnag-Api: - 'true' Authorization: - token BUGSNAG_AUTH_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Content-Type: - application/json; charset=utf-8 Etag: - W/"c31d3b29e0b5d58647ea595a6a5ee69c" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 80237c03-e7a0-4bd9-9c64-3aebe1fa0678 X-Runtime: - '0.631835' Vary: - Origin X-Rack-Cors: - miss; no-origin Content-Security-Policy: - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net; connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com; script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com' X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - DENY X-Permitted-Cross-Domain-Policies: - none X-Xss-Protection: - 1; mode=block Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"id":"BUGSNAG_EVENT_ID","url":"https://api.bugsnag.com/events/BUGSNAG_EVENT_ID","project_url":"https://api.bugsnag.com/projects/BUGSNAG_PROJECT_ID","is_full_report":true,"error_id":"BUGSNAG_ERROR_ID","received_at":"2017-12-12T10:58:55.000Z","exceptions":[{"error_class":"RuntimeError","message":"Error","stacktrace":[{"column_number":null,"in_project":null,"line_number":34,"method":"block (2 levels) in \u003cmain\u003e","file":"/Users/amoinet/Desktop/libraries/bugsnag-ruby/test.rb","code":{"31":" sleep(interval)","32":" #Bugsnag.session_tracker.create_session","33":" if Random.rand \u003c error_chance","34":" Bugsnag.notify RuntimeError.new(\"Error\")","35":" end","36":" end","37":" end"},"macho_uuid":null,"source_control_link":null,"source_control_name":null}]}],"threads":[],"metaData":{"app":{"type":null}},"customDiagnostics":{},"request":{},"app":{"releaseStage":"production"},"device":{"hostname":"Alexanders-MacBook-Pro.local"},"user":{},"breadcrumbs":[],"context":"/Users/amoinet/Desktop/libraries/bugsnag-ruby/test.rb:34","severity":"warning","unhandled":false,"derived":{"deploy":null}}' http_version: recorded_at: Tue, 12 Dec 2017 11:55:16 GMT recorded_with: VCR 2.9.3