airbrake 8.3.2 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc41a5d64d0b2b7e369c100a43f912d5c052ae70
4
- data.tar.gz: 7176ef88810063c17fe77cd09430ba8b8df497f3
3
+ metadata.gz: 9c8083c97e26cdb7c8fe53e6f14230ada0089467
4
+ data.tar.gz: f8fa25f6cc5b72084633982b40e639d7a7a5052b
5
5
  SHA512:
6
- metadata.gz: f54e79d7a3ded37ab3faa8cd8b5fb7dcd305c739e9e0aa0fed7c8d29d8fc4beee5eee9128f5e9f0cc85830c20c03aebffac0243f37f7533bc4018f81c6db4cec
7
- data.tar.gz: 3b34f14eb132c84b1b59ec2308ccc9e0883a3bde794688111d91490d9bca04ed0afee45e2a012db5fe6f6bdfab871c3102eeff968e472416b14b614c68f99494
6
+ metadata.gz: 0df7d0c719260389b98d070d1f17cc966066d9aef11bda7da4d47616f26a42801ee27eadb4f4ff10b4c065705b61cb014a46d2a8d28cc23f10771271d7ec42cd
7
+ data.tar.gz: 63ef9f1b5b9f25ebf571a328bb71f99c3138d4ff6a49e9d855dda3b839e6d014d2d1d91887a6cfc3996841e10c80f8b8a4b02193eec75d6d23202eaf41cfecc7
@@ -8,3 +8,24 @@ require 'airbrake/rack/request_body_filter'
8
8
  require 'airbrake/rack/route_filter'
9
9
  require 'airbrake/rack/middleware'
10
10
  require 'airbrake/rack/request_store'
11
+
12
+ module Airbrake
13
+ # Rack is a namespace for all Rack-related features.
14
+ module Rack
15
+ # Adds the list of default Rack filters that read Rack request information
16
+ # and append it to notices.
17
+ # @since 9.0.0
18
+ def self.add_default_filters
19
+ [
20
+ Airbrake::Rack::ContextFilter,
21
+ Airbrake::Rack::UserFilter,
22
+ Airbrake::Rack::SessionFilter,
23
+ Airbrake::Rack::HttpParamsFilter,
24
+ Airbrake::Rack::HttpHeadersFilter,
25
+ Airbrake::Rack::RouteFilter
26
+ ].each do |filter|
27
+ Airbrake.add_filter(filter.new)
28
+ end
29
+ end
30
+ end
31
+ end
@@ -79,19 +79,3 @@ module Airbrake
79
79
  end
80
80
  end
81
81
  end
82
-
83
- # The list of Rack filters that read Rack request information and append it to
84
- # notices.
85
- [
86
- Airbrake::Rack::ContextFilter,
87
- Airbrake::Rack::UserFilter,
88
- Airbrake::Rack::SessionFilter,
89
- Airbrake::Rack::HttpParamsFilter,
90
- Airbrake::Rack::HttpHeadersFilter,
91
- Airbrake::Rack::RouteFilter,
92
-
93
- # Optional filters (must be included by users):
94
- # Airbrake::Rack::RequestBodyFilter
95
- ].each do |filter|
96
- Airbrake.add_filter(filter.new)
97
- end
@@ -13,11 +13,9 @@ module Airbrake
13
13
  return unless (request = notice.stash[:rack_request])
14
14
 
15
15
  notice[:context][:route] =
16
- if defined?(ActionDispatch::Request) &&
17
- request.instance_of?(ActionDispatch::Request)
16
+ if action_dispatch_request?(request)
18
17
  rails_route(request)
19
- elsif defined?(Sinatra::Request) &&
20
- request.instance_of?(Sinatra::Request)
18
+ elsif sinatra_request?(request)
21
19
  sinatra_route(request)
22
20
  end
23
21
  end
@@ -38,7 +36,17 @@ module Airbrake
38
36
  end
39
37
 
40
38
  def sinatra_route(request)
41
- request.env['sinatra.route'].split(' ').drop(1).join(' ')
39
+ return unless (route = request.env['sinatra.route'])
40
+ route.split(' ').drop(1).join(' ')
41
+ end
42
+
43
+ def action_dispatch_request?(request)
44
+ defined?(ActionDispatch::Request) &&
45
+ request.instance_of?(ActionDispatch::Request)
46
+ end
47
+
48
+ def sinatra_request?(request)
49
+ defined?(Sinatra::Request) && request.instance_of?(Sinatra::Request)
42
50
  end
43
51
  end
44
52
  end
@@ -5,17 +5,6 @@ module Airbrake
5
5
  # occurring in the application automatically.
6
6
  class Railtie < ::Rails::Railtie
7
7
  initializer('airbrake.middleware') do |app|
8
- require 'airbrake/rails/action_controller_route_subscriber'
9
- require 'airbrake/rails/action_controller_notify_subscriber'
10
- require 'airbrake/rails/action_controller_performance_breakdown_subscriber'
11
-
12
- ActiveSupport::Notifications.subscribe(
13
- 'process_action.action_controller',
14
- Airbrake::Rails::ActionControllerPerformanceBreakdownSubscriber.new
15
- )
16
-
17
- require 'airbrake/rails/active_record_subscriber' if defined?(ActiveRecord)
18
-
19
8
  # Since Rails 3.2 the ActionDispatch::DebugExceptions middleware is
20
9
  # responsible for logging exceptions and showing a debugging page in
21
10
  # case the request is local. We want to insert our middleware after
@@ -60,10 +49,28 @@ module Airbrake
60
49
  require 'airbrake/rails/action_controller'
61
50
  include Airbrake::Rails::ActionController
62
51
 
63
- # Cache route information for the duration of the request.
64
- require 'airbrake/rails/action_controller_route_subscriber'
65
- # Send route stats.
66
- require 'airbrake/rails/action_controller_notify_subscriber'
52
+ if Airbrake::Config.instance.performance_stats
53
+ # Cache route information for the duration of the request.
54
+ require 'airbrake/rails/action_controller_route_subscriber'
55
+ ActiveSupport::Notifications.subscribe(
56
+ 'start_processing.action_controller',
57
+ Airbrake::Rails::ActionControllerRouteSubscriber.new
58
+ )
59
+
60
+ # Send route stats.
61
+ require 'airbrake/rails/action_controller_notify_subscriber'
62
+ ActiveSupport::Notifications.subscribe(
63
+ 'process_action.action_controller',
64
+ Airbrake::Rails::ActionControllerNotifySubscriber.new
65
+ )
66
+
67
+ # Send performance breakdown: where a request spends its time.
68
+ require 'airbrake/rails/action_controller_performance_breakdown_subscriber'
69
+ ActiveSupport::Notifications.subscribe(
70
+ 'process_action.action_controller',
71
+ Airbrake::Rails::ActionControllerPerformanceBreakdownSubscriber.new
72
+ )
73
+ end
67
74
  end
68
75
  end
69
76
 
@@ -74,8 +81,20 @@ module Airbrake
74
81
  require 'airbrake/rails/active_record'
75
82
  include Airbrake::Rails::ActiveRecord
76
83
 
77
- # Send SQL queries.
78
- require 'airbrake/rails/active_record_subscriber'
84
+ if defined?(ActiveRecord) && Airbrake::Config.instance.performance_stats
85
+ # Send SQL queries.
86
+ require 'airbrake/rails/active_record_subscriber'
87
+ ActiveSupport::Notifications.subscribe(
88
+ 'sql.active_record', Airbrake::Rails::ActiveRecordSubscriber.new
89
+ )
90
+
91
+ # Filter out parameters from SQL body.
92
+ Airbrake.add_performance_filter(
93
+ Airbrake::Filters::SqlFilter.new(
94
+ ::ActiveRecord::Base.connection_config[:adapter]
95
+ )
96
+ )
97
+ end
79
98
  end
80
99
  end
81
100
 
@@ -99,6 +118,10 @@ module Airbrake
99
118
  Airbrake.notify_sync($ERROR_INFO) if $ERROR_INFO
100
119
  end
101
120
  end
121
+
122
+ config.after_initialize do
123
+ Airbrake::Rack.add_default_filters
124
+ end
102
125
  end
103
126
  end
104
127
  end
@@ -42,8 +42,3 @@ module Airbrake
42
42
  end
43
43
  end
44
44
  end
45
-
46
- ActiveSupport::Notifications.subscribe(
47
- 'process_action.action_controller',
48
- Airbrake::Rails::ActionControllerNotifySubscriber.new
49
- )
@@ -46,8 +46,3 @@ module Airbrake
46
46
  end
47
47
  end
48
48
  end
49
-
50
- ActiveSupport::Notifications.subscribe(
51
- 'start_processing.action_controller',
52
- Airbrake::Rails::ActionControllerRouteSubscriber.new
53
- )
@@ -36,13 +36,3 @@ module Airbrake
36
36
  end
37
37
  end
38
38
  end
39
-
40
- Airbrake.add_performance_filter(
41
- Airbrake::Filters::SqlFilter.new(
42
- ActiveRecord::Base.connection_config[:adapter]
43
- )
44
- )
45
-
46
- ActiveSupport::Notifications.subscribe(
47
- 'sql.active_record', Airbrake::Rails::ActiveRecordSubscriber.new
48
- )
@@ -1,5 +1,5 @@
1
1
  # We use Semantic Versioning v2.0.0
2
2
  # More information: http://semver.org/
3
3
  module Airbrake
4
- AIRBRAKE_VERSION = '8.3.2'.freeze
4
+ AIRBRAKE_VERSION = '9.0.0'.freeze
5
5
  end
@@ -3,6 +3,8 @@ DummyApp = Rack::Builder.new do
3
3
  use Airbrake::Rack::Middleware
4
4
  use Warden::Manager
5
5
 
6
+ Airbrake::Rack.add_default_filters
7
+
6
8
  map '/' do
7
9
  run(
8
10
  proc do |_env|
@@ -2368,3 +2368,1107 @@ Processing by DummyController#breakdown as HTML
2368
2368
  Book Load (0.1ms) SELECT "books".* FROM "books"
2369
2369
  Rendered dummy/breakdown.html.erb within layouts/application (0.9ms)
2370
2370
  Completed 200 OK in 19.5ms (Views: 5.8ms | ActiveRecord: 0.4ms)
2371
+ Connecting to database specified by DATABASE_URL
2372
+  (2.8ms) select sqlite_version(*)
2373
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
2374
+  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime) 
2375
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
2376
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:09 +0200
2377
+ Processing by DummyController#crash as HTML
2378
+  (0.0ms) begin transaction
2379
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2380
+  (0.0ms) commit transaction
2381
+ #<AirbrakeTestError: after_commit>
2382
+ Completed 500 Internal Server Error in 26.2ms
2383
+
2384
+ AirbrakeTestError (AirbrakeTestError):
2385
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2386
+ lib/airbrake/rack/middleware.rb:21:in `call'
2387
+
2388
+
2389
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:11 +0200
2390
+ Processing by DummyController#crash as HTML
2391
+  (0.1ms) begin transaction
2392
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2393
+  (0.0ms) commit transaction
2394
+ #<AirbrakeTestError: after_commit>
2395
+ Completed 500 Internal Server Error in 21.8ms
2396
+
2397
+ AirbrakeTestError (AirbrakeTestError):
2398
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2399
+ lib/airbrake/rack/middleware.rb:21:in `call'
2400
+
2401
+
2402
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:13 +0200
2403
+ Processing by DummyController#crash as HTML
2404
+  (0.0ms) begin transaction
2405
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2406
+  (0.0ms) commit transaction
2407
+ #<AirbrakeTestError: after_commit>
2408
+ Completed 500 Internal Server Error in 32.5ms
2409
+
2410
+ AirbrakeTestError (AirbrakeTestError):
2411
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2412
+ lib/airbrake/rack/middleware.rb:21:in `call'
2413
+
2414
+
2415
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:15 +0200
2416
+ Processing by DummyController#crash as HTML
2417
+  (0.0ms) begin transaction
2418
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2419
+  (0.0ms) commit transaction
2420
+ #<AirbrakeTestError: after_commit>
2421
+ Completed 500 Internal Server Error in 17.5ms
2422
+
2423
+ AirbrakeTestError (AirbrakeTestError):
2424
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2425
+ lib/airbrake/rack/middleware.rb:21:in `call'
2426
+
2427
+
2428
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:17 +0200
2429
+ Processing by DummyController#crash as HTML
2430
+  (0.0ms) begin transaction
2431
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2432
+  (0.0ms) commit transaction
2433
+ #<AirbrakeTestError: after_commit>
2434
+ Completed 500 Internal Server Error in 16.9ms
2435
+
2436
+ AirbrakeTestError (AirbrakeTestError):
2437
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2438
+ lib/airbrake/rack/middleware.rb:21:in `call'
2439
+
2440
+
2441
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:19 +0200
2442
+ Processing by DummyController#crash as HTML
2443
+  (0.1ms) begin transaction
2444
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2445
+  (0.0ms) commit transaction
2446
+ #<AirbrakeTestError: after_commit>
2447
+ Completed 500 Internal Server Error in 19.7ms
2448
+
2449
+ AirbrakeTestError (AirbrakeTestError):
2450
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2451
+ lib/airbrake/rack/middleware.rb:21:in `call'
2452
+
2453
+
2454
+ Started GET "/resque" for 127.0.0.1 at 2019-03-28 20:10:21 +0200
2455
+ Processing by DummyController#resque as HTML
2456
+ Rendered dummy/resque.html.erb within layouts/application (1.2ms)
2457
+ Completed 200 OK in 13.0ms (Views: 11.6ms | ActiveRecord: 0.0ms)
2458
+ Started GET "/breakdown" for 127.0.0.1 at 2019-03-28 20:10:21 +0200
2459
+ Processing by DummyController#breakdown as HTML
2460
+  (0.0ms) begin transaction
2461
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "breakdown"]]
2462
+  (0.0ms) commit transaction
2463
+ #<AirbrakeTestError: after_commit>
2464
+ Book Load (0.1ms) SELECT "books".* FROM "books"
2465
+ Rendered dummy/breakdown.html.erb within layouts/application (0.2ms)
2466
+ Completed 200 OK in 7.6ms (Views: 0.9ms | ActiveRecord: 0.2ms)
2467
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:21 +0200
2468
+ Processing by DummyController#crash as HTML
2469
+  (0.0ms) begin transaction
2470
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2471
+  (0.0ms) commit transaction
2472
+ #<AirbrakeTestError: after_commit>
2473
+ Completed 500 Internal Server Error in 8.0ms
2474
+
2475
+ AirbrakeTestError (AirbrakeTestError):
2476
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2477
+ lib/airbrake/rack/middleware.rb:21:in `call'
2478
+
2479
+
2480
+ Started GET "/delayed_job" for 127.0.0.1 at 2019-03-28 20:10:23 +0200
2481
+ Processing by DummyController#delayed_job as HTML
2482
+ Completed 500 Internal Server Error in 14.0ms
2483
+
2484
+ RSpec::Mocks::MockExpectationError (Airbrake received :notify with unexpected arguments
2485
+ expected: (anything, {"job"=>hash_including("handler"=>"--- !ruby/struct:BangoJob\nbingo: bingo\nbongo: bongo\n")})
2486
+ got: (#<Airbrake::Notice:0x00007fee0ac86130 @config=#<Airbrake::Config:0x00007fee0a11fa80 @proxy={}, @queue...hash=2943620109571119331>]}>}, @truncator=#<Airbrake::Truncator:0x00007fee0ac2e750 @max_size=10000>>)
2487
+ Diff:
2488
+ @@ -1,4 +1,8 @@
2489
+ -["anything",
2490
+ - {"job"=>
2491
+ - hash_including("handler"=>"--- !ruby/struct:BangoJob\nbingo: bingo\nbongo: bongo\n")}]
2492
+ +[#<Airbrake::Notice:0x00007fee0ac86130 @config=#<Airbrake::Config:0x00007fee0a11fa80 @proxy={}, @queue_size=100, @workers=5, @code_hunks=true, @logger=#<Logger:0x00007fee0a11f9e0 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007fee0a11f940 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007fee0a11f8f0 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/dev/null", @dev=#<File:/dev/null>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00007fee0a11f6c0>>>, @project_id=113743, @project_key="fd04e13d806a90f96614ad8e529b2822", @host="https://api.airbrake.io", @ignore_environments=[], @timeout=nil, @blacklist_keys=[], @whitelist_keys=[], @root_directory="/Users/kyrylo/Code/airbrake/airbrake/gemfiles", @versions={}, @performance_stats=false, @performance_stats_flush_period=1, @app_version="1.2.3", @endpoint=#<URI::HTTPS https://api.airbrake.io/api/v3/projects/113743/notices>>, @payload={:errors=>[{:type=>"AirbrakeTestError", :message=>"delayed_job error", :backtrace=>[{:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/dummy_app.rb", :line=>87, :function=>"perform"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>81, :function=>"block in invoke_job"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/delayed_job.rb", :line=>10, :function=>"block (2 levels) in <class:Airbrake>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>79, :function=>"block (2 levels) in add"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>61, :function=>"block in initialize"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>79, :function=>"block in add"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>66, :function=>"execute"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>40, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>78, :function=>"invoke_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>19, :function=>"block (2 levels) in enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>61, :function=>"block in initialize"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>66, :function=>"execute"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>40, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>17, :function=>"block in enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>16, :function=>"tap"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>16, :function=>"enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>12, :function=>"enqueue"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/dummy_app.rb", :line=>149, :function=>"delayed_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb", :line=>4, :function=>"send_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb", :line=>167, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb", :line=>10, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb", :line=>18, :function=>"block in process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>403, :function=>"_run__2701625860469606715__process_action__3715290519220012436__callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"__run_callback"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>385, :function=>"_run_process_action_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>81, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb", :line=>17, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb", :line=>29, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb", :line=>30, :function=>"block in process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb", :line=>123, :function=>"block in instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb", :line=>20, :function=>"instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb", :line=>123, :function=>"instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb", :line=>29, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb", :line=>207, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb", :line=>18, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb", :line=>121, :function=>"process"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb", :line=>46, :function=>"process"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb", :line=>203, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb", :line=>14, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb", :line=>246, :function=>"block in action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>73, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>36, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>68, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>56, :function=>"each"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>56, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>608, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>36, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>35, :function=>"catch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>35, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/best_standards_support.rb", :line=>17, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/etag.rb", :line=>23, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/conditionalget.rb", :line=>25, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb", :line=>14, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/params_parser.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb", :line=>242, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/session/abstract/id.rb", :line=>210, :function=>"context"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/session/abstract/id.rb", :line=>205, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb", :line=>341, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb", :line=>64, :function=>"call"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/rack/middleware.rb", :line=>33, :function=>"call!"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/rack/middleware.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", :line=>479, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", :line=>28, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"_run__4492787274168278526__call__3151191555133503837__callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"__run_callback"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>385, :function=>"_run_call_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>81, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", :line=>27, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb", :line=>65, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb", :line=>31, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb", :line=>16, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb", :line=>56, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", :line=>32, :function=>"call_app"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", :line=>18, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb", :line=>22, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/methodoverride.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/runtime.rb", :line=>17, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/cache/strategy/local_cache.rb", :line=>72, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/lock.rb", :line=>15, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb", :line=>83, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/engine.rb", :line=>484, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/application.rb", :line=>231, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/mock_session.rb", :line=>30, :function=>"request"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/test.rb", :line=>244, :function=>"process_request"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/test.rb", :line=>58, :function=>"get"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/integration/rails/rails_spec.rb", :line=>183, :function=>"block (3 levels) in <top (required)>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>254, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>254, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>500, :function=>"block in with_around_and_singleton_context_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>457, :function=>"block in with_around_example_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>464, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>604, :function=>"block in run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>342, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-wait-0.0.9/lib/rspec/wait.rb", :line=>46, :function=>"block (2 levels) in <top (required)>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>447, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>447, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>373, :function=>"execute_with"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>606, :function=>"block (2 levels) in run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>342, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>607, :function=>"run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>464, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>457, :function=>"with_around_example_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>500, :function=>"with_around_and_singleton_context_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>251, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>629, :function=>"block in run_examples"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>625, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>625, :function=>"run_examples"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>591, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"block (3 levels) in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"block (2 levels) in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb", :line=>1989, :function=>"with_suite_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>111, :function=>"block in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb", :line=>74, :function=>"report"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>110, :function=>"run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>87, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>71, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>45, :function=>"invoke"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/exe/rspec", :line=>4, :function=>"<main>"}]}], :context=>{:version=>"1.2.3", :rootDirectory=>"/Users/kyrylo/Code/airbrake/airbrake/gemfiles", :hostname=>"Kyrylos-MacBook-Pro.local", :severity=>"error", :os=>"x86_64-darwin16", :language=>"ruby/2.4.2", :notifier=>{:name=>"airbrake-ruby", :version=>"4.2.0", :url=>"https://github.com/airbrake/airbrake-ruby"}}, :environment=>{:program_name=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/exe/rspec"}, :session=>{}, :params=>{}}, @stash={:exception=>#<AirbrakeTestError: delayed_job error>, :rack_request=>#<ActionDispatch::Request:0x00007fee0ac2e688 @env={"rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x00007fee0c36fae0>, "rack.errors"=>#<StringIO:0x00007fee0c36fb80>, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/delayed_job", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0", "rack.test"=>true, "REMOTE_ADDR"=>"127.0.0.1", "HTTP_HOST"=>"example.org", "HTTP_COOKIE"=>"", "ORIGINAL_FULLPATH"=>"/delayed_job", "action_dispatch.routes"=>#<ActionDispatch::Routing::RouteSet:0x00007fee0c55e450>, "action_dispatch.parameter_filter"=>[], "action_dispatch.secret_token"=>"ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>false, "action_dispatch.logger"=>#<Logger:0x00007fee0ad55048 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007fee0ad54fa8 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x00007fee0ad54e40 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x00007fee0ad54f58 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/logs/32.log", @dev=#<File:/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/logs/32.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00007fee0ad54f08>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x00007fee0c2bda48 @filters=[#<Proc:0x00007fee0c2bd980@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x00007fee0c2bd728@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x00007fee0c2bd700@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x00007fee0c2bc0f8@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x00007fee0c2bc0d0@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:15>]>, "action_dispatch.request_id"=>"19a9fb6444c906d35b63cef5c5d3dbc0", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x00007fee0c36dfd8 @env={...}, @middleware=#<ActionDispatch::RemoteIp:0x00007fee0a9f6078 @app=#<ActionDispatch::Reloader:0x00007fee0a9f6140 @app=#<ActionDispatch::Callbacks:0x00007fee0a9f6168 @app=#<ActiveRecord::ConnectionAdapters::ConnectionManagement:0x00007fee0a9f6190 @app=#<Airbrake::Rack::Middleware:0x00007fee0a9f65c8 @app=#<ActiveRecord::QueryCache:0x00007fee0a9f6988 @app=#<ActionDispatch::Cookies:0x00007fee0a9f6e88 @app=#<ActionDispatch::Session::CookieStore:0x00007fee0a9f7ab8 @secrets=["9def01d1c6a71d0fa989b335161bae06a575859dea6573c135f3f3522281"], @coder=#<Rack::Session::Cookie::Base64::Marshal:0x00007fee0a9f71f8>, @app=#<ActionDispatch::Flash:0x00007fee0a9f7b08 @app=#<ActionDispatch::ParamsParser:0x00007fee0a9f7e00 @app=#<ActionDispatch::Head:0x00007fee0a9f7e28 @app=#<Rack::ConditionalGet:0x00007fee0a9ff7e0 @app=#<Rack::ETag:0x00007fee0a9ff790 @app=#<ActionDispatch::BestStandardsSupport:0x00007fee0a9fc018 @app=#<Warden::Manager:0x00007fee0a9fc248 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{}, :intercept_401=>true}, @app=#<ActionDispatch::Routing::RouteSet:0x00007fee0c55e450>>, @header="IE=Edge,chrome=1">, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>, @parsers={#<Mime::Type:0x00007fee0acd6b80 @synonyms=["text/xml", "application/x-xml"], @symbol=:xml, @string="application/xml", @hash=-4205168591221967835>=>:xml_simple, #<Mime::Type:0x00007fee0acd5528 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json", @hash=-598389002568638253>=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"9def01d1c6a71d0fa989b335161bae06a575859dea6573c135f3f3522281", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00007fee0a9f71f8>}, @key="jiez4Mielu1AiHugog3shiiPhe3lai3faer", @cookie_only=true>>>>>>, @condition=#<Proc:0x00007fee0ab56828@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/application.rb:275 (lambda)>, @validated=false>, @check_ip=true, @proxies=/
2493
+ + ^127\.0\.0\.1$ | # localhost
2494
+ + ^(10 | # private IP 10.x.x.x
2495
+ + 172\.(1[6-9]|2[0-9]|3[0-1]) | # private IP in the range 172.16.0.0 .. 172.31.255.255
2496
+ + 192\.168 # private IP 192.168.x.x
2497
+ + )\.
2498
+ + /x>, @calculated_ip=false>, "rack.session"=>#<Rack::Session::Abstract::SessionHash:0x3ff7061b695c not yet loaded>, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"9def01d1c6a71d0fa989b335161bae06a575859dea6573c135f3f3522281", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00007fee0a9f71f8>, :id=>nil}, "rack.request.cookie_hash"=>{}, "rack.request.cookie_string"=>"", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x00007fee0c36cfc0 @secret="ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", @set_cookies={}, @delete_cookies={}, @host="example.org", @secure=false, @closed=false, @cookies={}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x00007fee0c367c00 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x00007fee0c36cfc0 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x00007fee0c367b88 @secret="ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", @digest="SHA1", @serializer=Marshal>>>, "action_dispatch.request.unsigned_session_cookie"=>{}, "warden"=>Warden::Proxy:70330191920460 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{}, :intercept_401=>true}, "action_dispatch.request.path_parameters"=>{:controller=>"dummy", :action=>"delayed_job"}, "action_controller.instance"=>#<DummyController:0x00007fee0c3650b8 @_routes=nil, @_action_has_layout=true, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x00007fee0c364f78 @env={...}, @filtered_parameters={"controller"=>"dummy", "action"=>"delayed_job"}, @method="GET", @fullpath="/delayed_job">, @_response=#<ActionDispatch::Response:0x00007fee0c364f50 @body=[], @header={}, @status=200, @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x00007fee0c364f78 @env={...}, @filtered_parameters={"controller"=>"dummy", "action"=>"delayed_job"}, @method="GET", @fullpath="/delayed_job">>, @_env={...}, @_prefixes=["dummy"], @_lookup_context=#<ActionView::LookupContext:0x00007fee0c364708 @details_key=nil, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}, @skip_default_locale=false, @cache=true, @prefixes=["dummy"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x00007fee0c364690 @paths=[#<ActionView::FixtureResolver:0x00007fee0a5bb828 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cached={#<ActionView::LookupContext::DetailsKey:0x00007fee0b325fb8 @hash=-4324221854399863292>=>{"resque"=>{"dummy"=>{false=>{[]=>[dummy/resque.html.erb]}}}, "application"=>{"layouts"=>{false=>{[]=>[layouts/application.html.erb]}}}, "breakdown"=>{"dummy"=>{false=>{[]=>[dummy/breakdown.html.erb]}}}}}, @hash={"layouts/application.html.erb"=>"<%= yield %>", "dummy/index.html.erb"=>"Hello from index", "dummy/notify_airbrake_helper.html.erb"=>"notify_airbrake_helper", "dummy/notify_airbrake_sync_helper.html.erb"=>"notify_airbrake_helper_sync", "dummy/active_record_after_commit.html.erb"=>"active_record_after_commit", "dummy/active_record_after_rollback.html.erb"=>"active_record_after_rollback", "dummy/active_job.html.erb"=>"active_job", "dummy/resque.html.erb"=>"resque", "dummy/delayed_job.html.erb"=>"delayed_job", "dummy/breakdown.html.erb"=>"breakdown"}>]>>, @_action_name="delayed_job", @_response_body=nil>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"dummy", "action"=>"delayed_job"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x00007fee0acde6c8 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=2943620109571119331>]}>}, @truncator=#<Airbrake::Truncator:0x00007fee0ac2e750 @max_size=10000>>]
2499
+ ):
2500
+ lib/airbrake/rack/middleware.rb:65:in `notify_airbrake'
2501
+ lib/airbrake/rack/middleware.rb:35:in `rescue in call!'
2502
+ lib/airbrake/rack/middleware.rb:40:in `call!'
2503
+ lib/airbrake/rack/middleware.rb:21:in `call'
2504
+
2505
+
2506
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:23 +0200
2507
+ Processing by DummyController#crash as HTML
2508
+  (0.0ms) begin transaction
2509
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2510
+  (0.0ms) commit transaction
2511
+ #<AirbrakeTestError: after_commit>
2512
+ Completed 500 Internal Server Error in 17.4ms
2513
+
2514
+ AirbrakeTestError (AirbrakeTestError):
2515
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2516
+ lib/airbrake/rack/middleware.rb:21:in `call'
2517
+
2518
+
2519
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:10:25 +0200
2520
+ Processing by DummyController#crash as HTML
2521
+  (0.0ms) begin transaction
2522
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2523
+  (0.0ms) commit transaction
2524
+ #<AirbrakeTestError: after_commit>
2525
+ Completed 500 Internal Server Error in 5.5ms
2526
+
2527
+ AirbrakeTestError (AirbrakeTestError):
2528
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2529
+ lib/airbrake/rack/middleware.rb:21:in `call'
2530
+
2531
+
2532
+ Started HEAD "/crash" for 127.0.0.1 at 2019-03-28 20:10:25 +0200
2533
+ Processing by DummyController#crash as HTML
2534
+  (0.0ms) begin transaction
2535
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2536
+  (0.0ms) commit transaction
2537
+ #<AirbrakeTestError: after_commit>
2538
+ Completed 0 in 4.6ms
2539
+
2540
+ AirbrakeTestError (AirbrakeTestError):
2541
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2542
+ lib/airbrake/rack/middleware.rb:21:in `call'
2543
+
2544
+
2545
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:25 +0200
2546
+ Processing by DummyController#notify_airbrake_helper as HTML
2547
+ Parameters: {"foo"=>"bar"}
2548
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2549
+ Completed 200 OK in 5.1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2550
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:27 +0200
2551
+ Processing by DummyController#notify_airbrake_helper as HTML
2552
+ Parameters: {"foo"=>"bar"}
2553
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2554
+ Completed 200 OK in 14.9ms (Views: 9.7ms | ActiveRecord: 0.0ms)
2555
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:29 +0200
2556
+ Processing by DummyController#notify_airbrake_helper as HTML
2557
+ Parameters: {"foo"=>"bar"}
2558
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2559
+ Completed 200 OK in 19.1ms (Views: 13.0ms | ActiveRecord: 0.0ms)
2560
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:31 +0200
2561
+ Processing by DummyController#notify_airbrake_helper as HTML
2562
+ Parameters: {"foo"=>"bar"}
2563
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2564
+ Completed 200 OK in 12.9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
2565
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:33 +0200
2566
+ Processing by DummyController#notify_airbrake_helper as HTML
2567
+ Parameters: {"foo"=>"bar"}
2568
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2569
+ Completed 200 OK in 14.3ms (Views: 8.7ms | ActiveRecord: 0.0ms)
2570
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:35 +0200
2571
+ Processing by DummyController#notify_airbrake_helper as HTML
2572
+ Parameters: {"foo"=>"bar"}
2573
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2574
+ Completed 200 OK in 13.7ms (Views: 8.2ms | ActiveRecord: 0.0ms)
2575
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:37 +0200
2576
+ Processing by DummyController#crash as HTML
2577
+ Parameters: {"foo"=>"bar"}
2578
+  (0.0ms) begin transaction
2579
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2580
+  (0.1ms) commit transaction
2581
+ #<AirbrakeTestError: after_commit>
2582
+ Completed 500 Internal Server Error in 18.5ms
2583
+
2584
+ AirbrakeTestError (AirbrakeTestError):
2585
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2586
+ lib/airbrake/rack/middleware.rb:21:in `call'
2587
+
2588
+
2589
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:39 +0200
2590
+ Processing by DummyController#crash as HTML
2591
+ Parameters: {"foo"=>"bar"}
2592
+  (0.0ms) begin transaction
2593
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2594
+  (0.1ms) commit transaction
2595
+ #<AirbrakeTestError: after_commit>
2596
+ Completed 500 Internal Server Error in 17.5ms
2597
+
2598
+ AirbrakeTestError (AirbrakeTestError):
2599
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2600
+ lib/airbrake/rack/middleware.rb:21:in `call'
2601
+
2602
+
2603
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:41 +0200
2604
+ Processing by DummyController#crash as HTML
2605
+ Parameters: {"foo"=>"bar"}
2606
+  (0.0ms) begin transaction
2607
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2608
+  (0.0ms) commit transaction
2609
+ #<AirbrakeTestError: after_commit>
2610
+ Completed 500 Internal Server Error in 18.7ms
2611
+
2612
+ AirbrakeTestError (AirbrakeTestError):
2613
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2614
+ lib/airbrake/rack/middleware.rb:21:in `call'
2615
+
2616
+
2617
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:43 +0200
2618
+ Processing by DummyController#crash as HTML
2619
+ Parameters: {"foo"=>"bar"}
2620
+  (0.0ms) begin transaction
2621
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2622
+  (0.0ms) commit transaction
2623
+ #<AirbrakeTestError: after_commit>
2624
+ Completed 500 Internal Server Error in 19.2ms
2625
+
2626
+ AirbrakeTestError (AirbrakeTestError):
2627
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2628
+ lib/airbrake/rack/middleware.rb:21:in `call'
2629
+
2630
+
2631
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:46 +0200
2632
+ Processing by DummyController#crash as HTML
2633
+ Parameters: {"foo"=>"bar"}
2634
+  (0.0ms) begin transaction
2635
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2636
+  (0.0ms) commit transaction
2637
+ #<AirbrakeTestError: after_commit>
2638
+ Completed 500 Internal Server Error in 17.5ms
2639
+
2640
+ AirbrakeTestError (AirbrakeTestError):
2641
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2642
+ lib/airbrake/rack/middleware.rb:21:in `call'
2643
+
2644
+
2645
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:48 +0200
2646
+ Processing by DummyController#crash as HTML
2647
+ Parameters: {"foo"=>"bar"}
2648
+  (0.0ms) begin transaction
2649
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2650
+  (0.0ms) commit transaction
2651
+ #<AirbrakeTestError: after_commit>
2652
+ Completed 500 Internal Server Error in 18.6ms
2653
+
2654
+ AirbrakeTestError (AirbrakeTestError):
2655
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2656
+ lib/airbrake/rack/middleware.rb:21:in `call'
2657
+
2658
+
2659
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:50 +0200
2660
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2661
+ Parameters: {"foo"=>"bar"}
2662
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2663
+ Completed 200 OK in 16.2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2664
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:52 +0200
2665
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2666
+ Parameters: {"foo"=>"bar"}
2667
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.3ms)
2668
+ Completed 200 OK in 12.1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2669
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:54 +0200
2670
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2671
+ Parameters: {"foo"=>"bar"}
2672
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2673
+ Completed 200 OK in 13.0ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2674
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:56 +0200
2675
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2676
+ Parameters: {"foo"=>"bar"}
2677
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2678
+ Completed 200 OK in 13.8ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2679
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:10:58 +0200
2680
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2681
+ Parameters: {"foo"=>"bar"}
2682
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2683
+ Completed 200 OK in 13.2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2684
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:00 +0200
2685
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2686
+ Parameters: {"foo"=>"bar"}
2687
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2688
+ Completed 200 OK in 13.1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2689
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:11:02 +0200
2690
+ Processing by DummyController#crash as HTML
2691
+  (0.0ms) begin transaction
2692
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2693
+  (0.0ms) commit transaction
2694
+ #<RSpec::Mocks::MockExpectationError: Airbrake received :notify with unexpected arguments
2695
+ expected: (an instance of Airbrake::Notice)
2696
+ got: (#<AirbrakeTestError: after_commit>)
2697
+ Diff:
2698
+ @@ -1,2 +1,2 @@
2699
+ -["an instance of Airbrake::Notice"]
2700
+ +[#<AirbrakeTestError: after_commit>]
2701
+ >
2702
+ Completed 500 Internal Server Error in 7.5ms
2703
+
2704
+ AirbrakeTestError (AirbrakeTestError):
2705
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2706
+ lib/airbrake/rack/middleware.rb:21:in `call'
2707
+
2708
+
2709
+ Started GET "/" for 127.0.0.1 at 2019-03-28 20:11:02 +0200
2710
+ Processing by DummyController#index as HTML
2711
+ Rendered dummy/index.html.erb within layouts/application (0.2ms)
2712
+ Completed 200 OK in 0.9ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2713
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:11:02 +0200
2714
+ Processing by DummyController#crash as HTML
2715
+  (0.0ms) begin transaction
2716
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2717
+  (0.0ms) commit transaction
2718
+ #<AirbrakeTestError: after_commit>
2719
+ Completed 500 Internal Server Error in 4.7ms
2720
+
2721
+ AirbrakeTestError (AirbrakeTestError):
2722
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2723
+ lib/airbrake/rack/middleware.rb:21:in `call'
2724
+
2725
+
2726
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:11:02 +0200
2727
+ Processing by DummyController#crash as HTML
2728
+  (0.0ms) begin transaction
2729
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2730
+  (0.0ms) commit transaction
2731
+ #<AirbrakeTestError: after_commit>
2732
+ Completed 500 Internal Server Error in 1.1ms
2733
+
2734
+ AirbrakeTestError (AirbrakeTestError):
2735
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2736
+ lib/airbrake/rack/middleware.rb:21:in `call'
2737
+
2738
+
2739
+ Connecting to database specified by DATABASE_URL
2740
+  (0.9ms) select sqlite_version(*)
2741
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
2742
+  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime) 
2743
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
2744
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:11:29 +0200
2745
+ Processing by DummyController#crash as HTML
2746
+  (0.0ms) begin transaction
2747
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2748
+  (0.0ms) commit transaction
2749
+ #<AirbrakeTestError: after_commit>
2750
+ Completed 500 Internal Server Error in 22.6ms
2751
+
2752
+ AirbrakeTestError (AirbrakeTestError):
2753
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2754
+ lib/airbrake/rack/middleware.rb:21:in `call'
2755
+
2756
+
2757
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:11:31 +0200
2758
+ Processing by DummyController#crash as HTML
2759
+  (0.0ms) begin transaction
2760
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2761
+  (0.0ms) commit transaction
2762
+ #<RSpec::Mocks::MockExpectationError: Airbrake received :notify with unexpected arguments
2763
+ expected: (an instance of Airbrake::Notice)
2764
+ got: (#<AirbrakeTestError: after_commit>)
2765
+ Diff:
2766
+ @@ -1,2 +1,2 @@
2767
+ -["an instance of Airbrake::Notice"]
2768
+ +[#<AirbrakeTestError: after_commit>]
2769
+ >
2770
+ Completed 500 Internal Server Error in 13.0ms
2771
+
2772
+ AirbrakeTestError (AirbrakeTestError):
2773
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2774
+ lib/airbrake/rack/middleware.rb:21:in `call'
2775
+
2776
+
2777
+ Started GET "/" for 127.0.0.1 at 2019-03-28 20:11:31 +0200
2778
+ Processing by DummyController#index as HTML
2779
+ Rendered dummy/index.html.erb within layouts/application (0.8ms)
2780
+ Completed 200 OK in 5.5ms (Views: 5.3ms | ActiveRecord: 0.0ms)
2781
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:31 +0200
2782
+ Processing by DummyController#crash as HTML
2783
+ Parameters: {"foo"=>"bar"}
2784
+  (0.0ms) begin transaction
2785
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2786
+  (0.0ms) commit transaction
2787
+ #<AirbrakeTestError: after_commit>
2788
+ Completed 500 Internal Server Error in 19.9ms
2789
+
2790
+ AirbrakeTestError (AirbrakeTestError):
2791
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2792
+ lib/airbrake/rack/middleware.rb:21:in `call'
2793
+
2794
+
2795
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:33 +0200
2796
+ Processing by DummyController#crash as HTML
2797
+ Parameters: {"foo"=>"bar"}
2798
+  (0.0ms) begin transaction
2799
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2800
+  (0.0ms) commit transaction
2801
+ #<AirbrakeTestError: after_commit>
2802
+ Completed 500 Internal Server Error in 39.9ms
2803
+
2804
+ AirbrakeTestError (AirbrakeTestError):
2805
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2806
+ lib/airbrake/rack/middleware.rb:21:in `call'
2807
+
2808
+
2809
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:35 +0200
2810
+ Processing by DummyController#crash as HTML
2811
+ Parameters: {"foo"=>"bar"}
2812
+  (0.0ms) begin transaction
2813
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2814
+  (0.1ms) commit transaction
2815
+ #<AirbrakeTestError: after_commit>
2816
+ Completed 500 Internal Server Error in 19.6ms
2817
+
2818
+ AirbrakeTestError (AirbrakeTestError):
2819
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2820
+ lib/airbrake/rack/middleware.rb:21:in `call'
2821
+
2822
+
2823
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:37 +0200
2824
+ Processing by DummyController#crash as HTML
2825
+ Parameters: {"foo"=>"bar"}
2826
+  (0.0ms) begin transaction
2827
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2828
+  (0.0ms) commit transaction
2829
+ #<AirbrakeTestError: after_commit>
2830
+ Completed 500 Internal Server Error in 10.2ms
2831
+
2832
+ AirbrakeTestError (AirbrakeTestError):
2833
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2834
+ lib/airbrake/rack/middleware.rb:21:in `call'
2835
+
2836
+
2837
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:39 +0200
2838
+ Processing by DummyController#crash as HTML
2839
+ Parameters: {"foo"=>"bar"}
2840
+  (0.0ms) begin transaction
2841
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2842
+  (0.1ms) commit transaction
2843
+ #<AirbrakeTestError: after_commit>
2844
+ Completed 500 Internal Server Error in 17.0ms
2845
+
2846
+ AirbrakeTestError (AirbrakeTestError):
2847
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2848
+ lib/airbrake/rack/middleware.rb:21:in `call'
2849
+
2850
+
2851
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:41 +0200
2852
+ Processing by DummyController#crash as HTML
2853
+ Parameters: {"foo"=>"bar"}
2854
+  (0.0ms) begin transaction
2855
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2856
+  (0.0ms) commit transaction
2857
+ #<AirbrakeTestError: after_commit>
2858
+ Completed 500 Internal Server Error in 17.3ms
2859
+
2860
+ AirbrakeTestError (AirbrakeTestError):
2861
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2862
+ lib/airbrake/rack/middleware.rb:21:in `call'
2863
+
2864
+
2865
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:43 +0200
2866
+ Processing by DummyController#notify_airbrake_helper as HTML
2867
+ Parameters: {"foo"=>"bar"}
2868
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2869
+ Completed 200 OK in 13.0ms (Views: 8.7ms | ActiveRecord: 0.0ms)
2870
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:45 +0200
2871
+ Processing by DummyController#notify_airbrake_helper as HTML
2872
+ Parameters: {"foo"=>"bar"}
2873
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2874
+ Completed 200 OK in 15.5ms (Views: 8.4ms | ActiveRecord: 0.0ms)
2875
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:48 +0200
2876
+ Processing by DummyController#notify_airbrake_helper as HTML
2877
+ Parameters: {"foo"=>"bar"}
2878
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2879
+ Completed 200 OK in 13.5ms (Views: 7.9ms | ActiveRecord: 0.0ms)
2880
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:50 +0200
2881
+ Processing by DummyController#notify_airbrake_helper as HTML
2882
+ Parameters: {"foo"=>"bar"}
2883
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2884
+ Completed 200 OK in 13.9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
2885
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:52 +0200
2886
+ Processing by DummyController#notify_airbrake_helper as HTML
2887
+ Parameters: {"foo"=>"bar"}
2888
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2889
+ Completed 200 OK in 14.9ms (Views: 9.6ms | ActiveRecord: 0.0ms)
2890
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:54 +0200
2891
+ Processing by DummyController#notify_airbrake_helper as HTML
2892
+ Parameters: {"foo"=>"bar"}
2893
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
2894
+ Completed 200 OK in 13.4ms (Views: 8.6ms | ActiveRecord: 0.0ms)
2895
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:56 +0200
2896
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2897
+ Parameters: {"foo"=>"bar"}
2898
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.3ms)
2899
+ Completed 200 OK in 15.5ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2900
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:11:58 +0200
2901
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2902
+ Parameters: {"foo"=>"bar"}
2903
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2904
+ Completed 200 OK in 14.7ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2905
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:12:00 +0200
2906
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2907
+ Parameters: {"foo"=>"bar"}
2908
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2909
+ Completed 200 OK in 15.4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2910
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:12:02 +0200
2911
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2912
+ Parameters: {"foo"=>"bar"}
2913
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2914
+ Completed 200 OK in 13.6ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2915
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:12:04 +0200
2916
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2917
+ Parameters: {"foo"=>"bar"}
2918
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2919
+ Completed 200 OK in 15.3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2920
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:12:06 +0200
2921
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
2922
+ Parameters: {"foo"=>"bar"}
2923
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
2924
+ Completed 200 OK in 14.1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2925
+ Started GET "/delayed_job" for 127.0.0.1 at 2019-03-28 20:12:08 +0200
2926
+ Processing by DummyController#delayed_job as HTML
2927
+ Completed 500 Internal Server Error in 11.3ms
2928
+
2929
+ RSpec::Mocks::MockExpectationError (Airbrake received :notify with unexpected arguments
2930
+ expected: (anything, {"job"=>hash_including("handler"=>"--- !ruby/struct:BangoJob\nbingo: bingo\nbongo: bongo\n")})
2931
+ got: (#<Airbrake::Notice:0x00007fb57239de68 @config=#<Airbrake::Config:0x00007fb5719c8640 @proxy={}, @queue...ash=-4546852983413860365>]}>}, @truncator=#<Airbrake::Truncator:0x00007fb5723167d8 @max_size=10000>>)
2932
+ Diff:
2933
+ @@ -1,4 +1,8 @@
2934
+ -["anything",
2935
+ - {"job"=>
2936
+ - hash_including("handler"=>"--- !ruby/struct:BangoJob\nbingo: bingo\nbongo: bongo\n")}]
2937
+ +[#<Airbrake::Notice:0x00007fb57239de68 @config=#<Airbrake::Config:0x00007fb5719c8640 @proxy={}, @queue_size=100, @workers=5, @code_hunks=true, @logger=#<Logger:0x00007fb5719c85c8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007fb5719c8578 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007fb5719c8528 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/dev/null", @dev=#<File:/dev/null>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00007fb5719c84b0>>>, @project_id=113743, @project_key="fd04e13d806a90f96614ad8e529b2822", @host="https://api.airbrake.io", @ignore_environments=[], @timeout=nil, @blacklist_keys=[], @whitelist_keys=[], @root_directory="/Users/kyrylo/Code/airbrake/airbrake/gemfiles", @versions={}, @performance_stats=false, @performance_stats_flush_period=1, @app_version="1.2.3", @endpoint=#<URI::HTTPS https://api.airbrake.io/api/v3/projects/113743/notices>>, @payload={:errors=>[{:type=>"AirbrakeTestError", :message=>"delayed_job error", :backtrace=>[{:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/dummy_app.rb", :line=>87, :function=>"perform"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>81, :function=>"block in invoke_job"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/delayed_job.rb", :line=>10, :function=>"block (2 levels) in <class:Airbrake>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>79, :function=>"block (2 levels) in add"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>61, :function=>"block in initialize"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>79, :function=>"block in add"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>66, :function=>"execute"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>40, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>78, :function=>"invoke_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>19, :function=>"block (2 levels) in enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>61, :function=>"block in initialize"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>66, :function=>"execute"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>40, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>17, :function=>"block in enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>16, :function=>"tap"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>16, :function=>"enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>12, :function=>"enqueue"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/dummy_app.rb", :line=>149, :function=>"delayed_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb", :line=>4, :function=>"send_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb", :line=>167, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb", :line=>10, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb", :line=>18, :function=>"block in process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>403, :function=>"_run__2266078374062079832__process_action__4176095465911767294__callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"__run_callback"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>385, :function=>"_run_process_action_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>81, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb", :line=>17, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb", :line=>29, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb", :line=>30, :function=>"block in process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb", :line=>123, :function=>"block in instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb", :line=>20, :function=>"instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb", :line=>123, :function=>"instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb", :line=>29, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb", :line=>207, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb", :line=>18, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb", :line=>121, :function=>"process"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb", :line=>46, :function=>"process"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb", :line=>203, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb", :line=>14, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb", :line=>246, :function=>"block in action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>73, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>36, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>68, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>56, :function=>"each"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>56, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>608, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>36, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>35, :function=>"catch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>35, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/best_standards_support.rb", :line=>17, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/etag.rb", :line=>23, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/conditionalget.rb", :line=>25, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb", :line=>14, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/params_parser.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb", :line=>242, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/session/abstract/id.rb", :line=>210, :function=>"context"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/session/abstract/id.rb", :line=>205, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb", :line=>341, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb", :line=>64, :function=>"call"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/rack/middleware.rb", :line=>33, :function=>"call!"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/rack/middleware.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", :line=>479, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", :line=>28, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"_run__768942586040421218__call__1653216763746558456__callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"__run_callback"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>385, :function=>"_run_call_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>81, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", :line=>27, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb", :line=>65, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb", :line=>31, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb", :line=>16, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb", :line=>56, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", :line=>32, :function=>"call_app"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", :line=>18, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb", :line=>22, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/methodoverride.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/runtime.rb", :line=>17, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/cache/strategy/local_cache.rb", :line=>72, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/lock.rb", :line=>15, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb", :line=>83, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/engine.rb", :line=>484, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/application.rb", :line=>231, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/mock_session.rb", :line=>30, :function=>"request"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/test.rb", :line=>244, :function=>"process_request"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/test.rb", :line=>58, :function=>"get"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/integration/rails/rails_spec.rb", :line=>183, :function=>"block (3 levels) in <top (required)>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>254, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>254, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>500, :function=>"block in with_around_and_singleton_context_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>457, :function=>"block in with_around_example_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>464, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>604, :function=>"block in run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>342, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-wait-0.0.9/lib/rspec/wait.rb", :line=>46, :function=>"block (2 levels) in <top (required)>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>447, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>447, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>373, :function=>"execute_with"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>606, :function=>"block (2 levels) in run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>342, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>607, :function=>"run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>464, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>457, :function=>"with_around_example_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>500, :function=>"with_around_and_singleton_context_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>251, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>629, :function=>"block in run_examples"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>625, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>625, :function=>"run_examples"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>591, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"block (3 levels) in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"block (2 levels) in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb", :line=>1989, :function=>"with_suite_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>111, :function=>"block in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb", :line=>74, :function=>"report"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>110, :function=>"run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>87, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>71, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>45, :function=>"invoke"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/exe/rspec", :line=>4, :function=>"<main>"}]}], :context=>{:version=>"1.2.3", :rootDirectory=>"/Users/kyrylo/Code/airbrake/airbrake/gemfiles", :hostname=>"Kyrylos-MacBook-Pro.local", :severity=>"error", :os=>"x86_64-darwin16", :language=>"ruby/2.4.2", :notifier=>{:name=>"airbrake-ruby", :version=>"4.2.0", :url=>"https://github.com/airbrake/airbrake-ruby"}}, :environment=>{:program_name=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/exe/rspec"}, :session=>{}, :params=>{}}, @stash={:exception=>#<AirbrakeTestError: delayed_job error>, :rack_request=>#<ActionDispatch::Request:0x00007fb5723167b0 @env={"rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x00007fb5729da560>, "rack.errors"=>#<StringIO:0x00007fb5729da650>, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/delayed_job", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0", "rack.test"=>true, "REMOTE_ADDR"=>"127.0.0.1", "HTTP_HOST"=>"example.org", "HTTP_COOKIE"=>"", "ORIGINAL_FULLPATH"=>"/delayed_job", "action_dispatch.routes"=>#<ActionDispatch::Routing::RouteSet:0x00007fb5725a5ee0>, "action_dispatch.parameter_filter"=>[], "action_dispatch.secret_token"=>"ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>false, "action_dispatch.logger"=>#<Logger:0x00007fb571929450 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007fb571929360 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x00007fb5719291a8 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x00007fb571929310 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/logs/32.log", @dev=#<File:/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/logs/32.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00007fb5719292c0>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x00007fb57052e180 @filters=[#<Proc:0x00007fb57052df50@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x00007fb57052deb0@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x00007fb57052de38@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x00007fb57052d0a0@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x00007fb57052d028@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:15>]>, "action_dispatch.request_id"=>"2001864f5138634dce75fa1ff1dd1a46", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x00007fb5729d9098 @env={...}, @middleware=#<ActionDispatch::RemoteIp:0x00007fb571a3f010 @app=#<ActionDispatch::Reloader:0x00007fb571a3f038 @app=#<ActionDispatch::Callbacks:0x00007fb571a3f060 @app=#<ActiveRecord::ConnectionAdapters::ConnectionManagement:0x00007fb571a3f088 @app=#<Airbrake::Rack::Middleware:0x00007fb571a3f0b0 @app=#<ActiveRecord::QueryCache:0x00007fb571a3f1a0 @app=#<ActionDispatch::Cookies:0x00007fb571a3f268 @app=#<ActionDispatch::Session::CookieStore:0x00007fb571a3f5b0 @secrets=["ea7afe04dad01ee3ad0f992eacbabb5fa1c51866e4a96ed9d49ef1a8ab5c"], @coder=#<Rack::Session::Cookie::Base64::Marshal:0x00007fb571a3f330>, @app=#<ActionDispatch::Flash:0x00007fb571a3f5d8 @app=#<ActionDispatch::ParamsParser:0x00007fb571a3f7b8 @app=#<ActionDispatch::Head:0x00007fb571a3f7e0 @app=#<Rack::ConditionalGet:0x00007fb571a3f808 @app=#<Rack::ETag:0x00007fb571a3f830 @app=#<ActionDispatch::BestStandardsSupport:0x00007fb571a3f880 @app=#<Warden::Manager:0x00007fb571a3f948 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{}, :intercept_401=>true}, @app=#<ActionDispatch::Routing::RouteSet:0x00007fb5725a5ee0>>, @header="IE=Edge,chrome=1">, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>, @parsers={#<Mime::Type:0x00007fb57283b7b8 @synonyms=["text/xml", "application/x-xml"], @symbol=:xml, @string="application/xml", @hash=-910580193776549131>=>:xml_simple, #<Mime::Type:0x00007fb572843738 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json", @hash=-4439326418119731672>=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"ea7afe04dad01ee3ad0f992eacbabb5fa1c51866e4a96ed9d49ef1a8ab5c", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00007fb571a3f330>}, @key="jiez4Mielu1AiHugog3shiiPhe3lai3faer", @cookie_only=true>>>>>>, @condition=#<Proc:0x00007fb57242fbd8@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/application.rb:275 (lambda)>, @validated=false>, @check_ip=true, @proxies=/
2938
+ + ^127\.0\.0\.1$ | # localhost
2939
+ + ^(10 | # private IP 10.x.x.x
2940
+ + 172\.(1[6-9]|2[0-9]|3[0-1]) | # private IP in the range 172.16.0.0 .. 172.31.255.255
2941
+ + 192\.168 # private IP 192.168.x.x
2942
+ + )\.
2943
+ + /x>, @calculated_ip=false>, "rack.session"=>#<Rack::Session::Abstract::SessionHash:0x3fdab94ec414 not yet loaded>, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"ea7afe04dad01ee3ad0f992eacbabb5fa1c51866e4a96ed9d49ef1a8ab5c", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00007fb571a3f330>, :id=>nil}, "rack.request.cookie_hash"=>{}, "rack.request.cookie_string"=>"", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x00007fb5729d85d0 @secret="ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", @set_cookies={}, @delete_cookies={}, @host="example.org", @secure=false, @closed=false, @cookies={}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x00007fb5729d8120 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x00007fb5729d85d0 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x00007fb5729d80a8 @secret="ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", @digest="SHA1", @serializer=Marshal>>>, "action_dispatch.request.unsigned_session_cookie"=>{}, "warden"=>Warden::Proxy:70208644358020 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{}, :intercept_401=>true}, "action_dispatch.request.path_parameters"=>{:controller=>"dummy", :action=>"delayed_job"}, "action_controller.instance"=>#<DummyController:0x00007fb5729d04c0 @_routes=nil, @_action_has_layout=true, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x00007fb5729cbf10 @env={...}, @filtered_parameters={"controller"=>"dummy", "action"=>"delayed_job"}, @method="GET", @fullpath="/delayed_job">, @_response=#<ActionDispatch::Response:0x00007fb5729cbee8 @body=[], @header={}, @status=200, @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x00007fb5729cbf10 @env={...}, @filtered_parameters={"controller"=>"dummy", "action"=>"delayed_job"}, @method="GET", @fullpath="/delayed_job">>, @_env={...}, @_prefixes=["dummy"], @_lookup_context=#<ActionView::LookupContext:0x00007fb5729cbb50 @details_key=nil, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}, @skip_default_locale=false, @cache=true, @prefixes=["dummy"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x00007fb5729cba88 @paths=[#<ActionView::FixtureResolver:0x00007fb572918be0 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cached={#<ActionView::LookupContext::DetailsKey:0x00007fb57219b160 @hash=1071657742116129084>=>{"index"=>{"dummy"=>{false=>{[]=>[dummy/index.html.erb]}}}, "application"=>{"layouts"=>{false=>{[]=>[layouts/application.html.erb]}}}, "notify_airbrake_helper"=>{"dummy"=>{false=>{[]=>[dummy/notify_airbrake_helper.html.erb]}}}, "notify_airbrake_sync_helper"=>{"dummy"=>{false=>{[]=>[dummy/notify_airbrake_sync_helper.html.erb]}}}}}, @hash={"layouts/application.html.erb"=>"<%= yield %>", "dummy/index.html.erb"=>"Hello from index", "dummy/notify_airbrake_helper.html.erb"=>"notify_airbrake_helper", "dummy/notify_airbrake_sync_helper.html.erb"=>"notify_airbrake_helper_sync", "dummy/active_record_after_commit.html.erb"=>"active_record_after_commit", "dummy/active_record_after_rollback.html.erb"=>"active_record_after_rollback", "dummy/active_job.html.erb"=>"active_job", "dummy/resque.html.erb"=>"resque", "dummy/delayed_job.html.erb"=>"delayed_job", "dummy/breakdown.html.erb"=>"breakdown"}>]>>, @_action_name="delayed_job", @_response_body=nil>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"dummy", "action"=>"delayed_job"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x00007fb5728208f0 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=-4546852983413860365>]}>}, @truncator=#<Airbrake::Truncator:0x00007fb5723167d8 @max_size=10000>>]
2944
+ ):
2945
+ lib/airbrake/rack/middleware.rb:65:in `notify_airbrake'
2946
+ lib/airbrake/rack/middleware.rb:35:in `rescue in call!'
2947
+ lib/airbrake/rack/middleware.rb:40:in `call!'
2948
+ lib/airbrake/rack/middleware.rb:21:in `call'
2949
+
2950
+
2951
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:08 +0200
2952
+ Processing by DummyController#crash as HTML
2953
+  (0.0ms) begin transaction
2954
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2955
+  (0.0ms) commit transaction
2956
+ #<AirbrakeTestError: after_commit>
2957
+ Completed 500 Internal Server Error in 19.4ms
2958
+
2959
+ AirbrakeTestError (AirbrakeTestError):
2960
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2961
+ lib/airbrake/rack/middleware.rb:21:in `call'
2962
+
2963
+
2964
+ Started GET "/resque" for 127.0.0.1 at 2019-03-28 20:12:10 +0200
2965
+ Processing by DummyController#resque as HTML
2966
+ Rendered dummy/resque.html.erb within layouts/application (0.2ms)
2967
+ Completed 200 OK in 2.4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2968
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:10 +0200
2969
+ Processing by DummyController#crash as HTML
2970
+  (0.0ms) begin transaction
2971
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2972
+  (0.0ms) commit transaction
2973
+ #<AirbrakeTestError: after_commit>
2974
+ Completed 500 Internal Server Error in 17.3ms
2975
+
2976
+ AirbrakeTestError (AirbrakeTestError):
2977
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2978
+ lib/airbrake/rack/middleware.rb:21:in `call'
2979
+
2980
+
2981
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:12 +0200
2982
+ Processing by DummyController#crash as HTML
2983
+  (0.0ms) begin transaction
2984
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2985
+  (0.0ms) commit transaction
2986
+ #<AirbrakeTestError: after_commit>
2987
+ Completed 500 Internal Server Error in 18.6ms
2988
+
2989
+ AirbrakeTestError (AirbrakeTestError):
2990
+ lib/airbrake/rack/middleware.rb:33:in `call!'
2991
+ lib/airbrake/rack/middleware.rb:21:in `call'
2992
+
2993
+
2994
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:14 +0200
2995
+ Processing by DummyController#crash as HTML
2996
+  (0.0ms) begin transaction
2997
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
2998
+  (0.0ms) commit transaction
2999
+ #<AirbrakeTestError: after_commit>
3000
+ Completed 500 Internal Server Error in 10.5ms
3001
+
3002
+ AirbrakeTestError (AirbrakeTestError):
3003
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3004
+ lib/airbrake/rack/middleware.rb:21:in `call'
3005
+
3006
+
3007
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:16 +0200
3008
+ Processing by DummyController#crash as HTML
3009
+  (0.0ms) begin transaction
3010
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3011
+  (0.0ms) commit transaction
3012
+ #<AirbrakeTestError: after_commit>
3013
+ Completed 500 Internal Server Error in 18.5ms
3014
+
3015
+ AirbrakeTestError (AirbrakeTestError):
3016
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3017
+ lib/airbrake/rack/middleware.rb:21:in `call'
3018
+
3019
+
3020
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:18 +0200
3021
+ Processing by DummyController#crash as HTML
3022
+  (0.0ms) begin transaction
3023
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3024
+  (0.0ms) commit transaction
3025
+ #<AirbrakeTestError: after_commit>
3026
+ Completed 500 Internal Server Error in 19.8ms
3027
+
3028
+ AirbrakeTestError (AirbrakeTestError):
3029
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3030
+ lib/airbrake/rack/middleware.rb:21:in `call'
3031
+
3032
+
3033
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:20 +0200
3034
+ Processing by DummyController#crash as HTML
3035
+  (0.0ms) begin transaction
3036
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3037
+  (0.0ms) commit transaction
3038
+ #<AirbrakeTestError: after_commit>
3039
+ Completed 500 Internal Server Error in 17.7ms
3040
+
3041
+ AirbrakeTestError (AirbrakeTestError):
3042
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3043
+ lib/airbrake/rack/middleware.rb:21:in `call'
3044
+
3045
+
3046
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:22 +0200
3047
+ Processing by DummyController#crash as HTML
3048
+  (0.1ms) begin transaction
3049
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3050
+  (0.0ms) commit transaction
3051
+ #<AirbrakeTestError: after_commit>
3052
+ Completed 500 Internal Server Error in 5.7ms
3053
+
3054
+ AirbrakeTestError (AirbrakeTestError):
3055
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3056
+ lib/airbrake/rack/middleware.rb:21:in `call'
3057
+
3058
+
3059
+ Started HEAD "/crash" for 127.0.0.1 at 2019-03-28 20:12:22 +0200
3060
+ Processing by DummyController#crash as HTML
3061
+  (0.0ms) begin transaction
3062
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3063
+  (0.0ms) commit transaction
3064
+ #<AirbrakeTestError: after_commit>
3065
+ Completed 0 in 5.2ms
3066
+
3067
+ AirbrakeTestError (AirbrakeTestError):
3068
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3069
+ lib/airbrake/rack/middleware.rb:21:in `call'
3070
+
3071
+
3072
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:22 +0200
3073
+ Processing by DummyController#crash as HTML
3074
+  (0.0ms) begin transaction
3075
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3076
+  (0.0ms) commit transaction
3077
+ #<AirbrakeTestError: after_commit>
3078
+ Completed 500 Internal Server Error in 4.4ms
3079
+
3080
+ AirbrakeTestError (AirbrakeTestError):
3081
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3082
+ lib/airbrake/rack/middleware.rb:21:in `call'
3083
+
3084
+
3085
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:12:22 +0200
3086
+ Processing by DummyController#crash as HTML
3087
+  (0.0ms) begin transaction
3088
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3089
+  (0.0ms) commit transaction
3090
+ #<AirbrakeTestError: after_commit>
3091
+ Completed 500 Internal Server Error in 1.1ms
3092
+
3093
+ AirbrakeTestError (AirbrakeTestError):
3094
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3095
+ lib/airbrake/rack/middleware.rb:21:in `call'
3096
+
3097
+
3098
+ Started GET "/breakdown" for 127.0.0.1 at 2019-03-28 20:12:22 +0200
3099
+ Processing by DummyController#breakdown as HTML
3100
+  (0.0ms) begin transaction
3101
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "breakdown"]]
3102
+  (0.0ms) commit transaction
3103
+ #<AirbrakeTestError: after_commit>
3104
+ Book Load (0.1ms) SELECT "books".* FROM "books" 
3105
+ Rendered dummy/breakdown.html.erb within layouts/application (0.2ms)
3106
+ Completed 200 OK in 7.9ms (Views: 0.9ms | ActiveRecord: 0.2ms)
3107
+ Connecting to database specified by DATABASE_URL
3108
+  (1.0ms) select sqlite_version(*)
3109
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
3110
+  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime) 
3111
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
3112
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:13:41 +0200
3113
+ Processing by DummyController#crash as HTML
3114
+  (0.0ms) begin transaction
3115
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3116
+  (0.0ms) commit transaction
3117
+ #<AirbrakeTestError: after_commit>
3118
+ Completed 500 Internal Server Error in 10.2ms
3119
+
3120
+ AirbrakeTestError (AirbrakeTestError):
3121
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3122
+ lib/airbrake/rack/middleware.rb:21:in `call'
3123
+
3124
+
3125
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:13:41 +0200
3126
+ Processing by DummyController#crash as HTML
3127
+  (0.0ms) begin transaction
3128
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3129
+  (0.0ms) commit transaction
3130
+ #<AirbrakeTestError: after_commit>
3131
+ Completed 500 Internal Server Error in 1.3ms
3132
+
3133
+ AirbrakeTestError (AirbrakeTestError):
3134
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3135
+ lib/airbrake/rack/middleware.rb:21:in `call'
3136
+
3137
+
3138
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:13:41 +0200
3139
+ Processing by DummyController#crash as HTML
3140
+  (0.0ms) begin transaction
3141
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3142
+  (0.0ms) commit transaction
3143
+ #<AirbrakeTestError: after_commit>
3144
+ Completed 500 Internal Server Error in 7.3ms
3145
+
3146
+ AirbrakeTestError (AirbrakeTestError):
3147
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3148
+ lib/airbrake/rack/middleware.rb:21:in `call'
3149
+
3150
+
3151
+ Started HEAD "/crash" for 127.0.0.1 at 2019-03-28 20:13:41 +0200
3152
+ Processing by DummyController#crash as HTML
3153
+  (0.1ms) begin transaction
3154
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3155
+  (0.0ms) commit transaction
3156
+ #<AirbrakeTestError: after_commit>
3157
+ Completed 0 in 4.8ms
3158
+
3159
+ AirbrakeTestError (AirbrakeTestError):
3160
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3161
+ lib/airbrake/rack/middleware.rb:21:in `call'
3162
+
3163
+
3164
+ Started GET "/" for 127.0.0.1 at 2019-03-28 20:13:41 +0200
3165
+ Processing by DummyController#index as HTML
3166
+ Rendered dummy/index.html.erb within layouts/application (0.8ms)
3167
+ Completed 200 OK in 5.3ms (Views: 5.1ms | ActiveRecord: 0.0ms)
3168
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:13:41 +0200
3169
+ Processing by DummyController#crash as HTML
3170
+  (0.0ms) begin transaction
3171
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3172
+  (0.0ms) commit transaction
3173
+ #<RSpec::Mocks::MockExpectationError: Airbrake received :notify with unexpected arguments
3174
+ expected: (an instance of Airbrake::Notice)
3175
+ got: (#<AirbrakeTestError: after_commit>)
3176
+ Diff:
3177
+ @@ -1,2 +1,2 @@
3178
+ -["an instance of Airbrake::Notice"]
3179
+ +[#<AirbrakeTestError: after_commit>]
3180
+ >
3181
+ Completed 500 Internal Server Error in 12.2ms
3182
+
3183
+ AirbrakeTestError (AirbrakeTestError):
3184
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3185
+ lib/airbrake/rack/middleware.rb:21:in `call'
3186
+
3187
+
3188
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:41 +0200
3189
+ Processing by DummyController#crash as HTML
3190
+ Parameters: {"foo"=>"bar"}
3191
+  (0.0ms) begin transaction
3192
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3193
+  (0.0ms) commit transaction
3194
+ #<AirbrakeTestError: after_commit>
3195
+ Completed 500 Internal Server Error in 20.0ms
3196
+
3197
+ AirbrakeTestError (AirbrakeTestError):
3198
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3199
+ lib/airbrake/rack/middleware.rb:21:in `call'
3200
+
3201
+
3202
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:43 +0200
3203
+ Processing by DummyController#crash as HTML
3204
+ Parameters: {"foo"=>"bar"}
3205
+  (0.0ms) begin transaction
3206
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3207
+  (0.0ms) commit transaction
3208
+ #<AirbrakeTestError: after_commit>
3209
+ Completed 500 Internal Server Error in 20.8ms
3210
+
3211
+ AirbrakeTestError (AirbrakeTestError):
3212
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3213
+ lib/airbrake/rack/middleware.rb:21:in `call'
3214
+
3215
+
3216
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:45 +0200
3217
+ Processing by DummyController#crash as HTML
3218
+ Parameters: {"foo"=>"bar"}
3219
+  (0.0ms) begin transaction
3220
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3221
+  (0.0ms) commit transaction
3222
+ #<AirbrakeTestError: after_commit>
3223
+ Completed 500 Internal Server Error in 21.4ms
3224
+
3225
+ AirbrakeTestError (AirbrakeTestError):
3226
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3227
+ lib/airbrake/rack/middleware.rb:21:in `call'
3228
+
3229
+
3230
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:47 +0200
3231
+ Processing by DummyController#crash as HTML
3232
+ Parameters: {"foo"=>"bar"}
3233
+  (0.0ms) begin transaction
3234
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3235
+  (0.0ms) commit transaction
3236
+ #<AirbrakeTestError: after_commit>
3237
+ Completed 500 Internal Server Error in 17.4ms
3238
+
3239
+ AirbrakeTestError (AirbrakeTestError):
3240
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3241
+ lib/airbrake/rack/middleware.rb:21:in `call'
3242
+
3243
+
3244
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:49 +0200
3245
+ Processing by DummyController#crash as HTML
3246
+ Parameters: {"foo"=>"bar"}
3247
+  (0.0ms) begin transaction
3248
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3249
+  (0.0ms) commit transaction
3250
+ #<AirbrakeTestError: after_commit>
3251
+ Completed 500 Internal Server Error in 19.1ms
3252
+
3253
+ AirbrakeTestError (AirbrakeTestError):
3254
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3255
+ lib/airbrake/rack/middleware.rb:21:in `call'
3256
+
3257
+
3258
+ Started GET "/crash?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:51 +0200
3259
+ Processing by DummyController#crash as HTML
3260
+ Parameters: {"foo"=>"bar"}
3261
+  (0.1ms) begin transaction
3262
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3263
+  (0.0ms) commit transaction
3264
+ #<AirbrakeTestError: after_commit>
3265
+ Completed 500 Internal Server Error in 17.6ms
3266
+
3267
+ AirbrakeTestError (AirbrakeTestError):
3268
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3269
+ lib/airbrake/rack/middleware.rb:21:in `call'
3270
+
3271
+
3272
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:53 +0200
3273
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
3274
+ Parameters: {"foo"=>"bar"}
3275
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
3276
+ Completed 200 OK in 25.9ms (Views: 1.4ms | ActiveRecord: 0.0ms)
3277
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:55 +0200
3278
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
3279
+ Parameters: {"foo"=>"bar"}
3280
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.3ms)
3281
+ Completed 200 OK in 23.2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
3282
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:57 +0200
3283
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
3284
+ Parameters: {"foo"=>"bar"}
3285
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
3286
+ Completed 200 OK in 14.8ms (Views: 1.0ms | ActiveRecord: 0.0ms)
3287
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:13:59 +0200
3288
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
3289
+ Parameters: {"foo"=>"bar"}
3290
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
3291
+ Completed 200 OK in 16.9ms (Views: 0.9ms | ActiveRecord: 0.0ms)
3292
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:01 +0200
3293
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
3294
+ Parameters: {"foo"=>"bar"}
3295
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.2ms)
3296
+ Completed 200 OK in 13.8ms (Views: 1.0ms | ActiveRecord: 0.0ms)
3297
+ Started GET "/notify_airbrake_sync_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:03 +0200
3298
+ Processing by DummyController#notify_airbrake_sync_helper as HTML
3299
+ Parameters: {"foo"=>"bar"}
3300
+ Rendered dummy/notify_airbrake_sync_helper.html.erb within layouts/application (0.3ms)
3301
+ Completed 200 OK in 13.7ms (Views: 1.0ms | ActiveRecord: 0.0ms)
3302
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:05 +0200
3303
+ Processing by DummyController#notify_airbrake_helper as HTML
3304
+ Parameters: {"foo"=>"bar"}
3305
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
3306
+ Completed 200 OK in 15.9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
3307
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:07 +0200
3308
+ Processing by DummyController#notify_airbrake_helper as HTML
3309
+ Parameters: {"foo"=>"bar"}
3310
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.3ms)
3311
+ Completed 200 OK in 14.1ms (Views: 8.7ms | ActiveRecord: 0.0ms)
3312
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:09 +0200
3313
+ Processing by DummyController#notify_airbrake_helper as HTML
3314
+ Parameters: {"foo"=>"bar"}
3315
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
3316
+ Completed 200 OK in 17.1ms (Views: 11.7ms | ActiveRecord: 0.0ms)
3317
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:11 +0200
3318
+ Processing by DummyController#notify_airbrake_helper as HTML
3319
+ Parameters: {"foo"=>"bar"}
3320
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
3321
+ Completed 200 OK in 21.6ms (Views: 15.0ms | ActiveRecord: 0.0ms)
3322
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:13 +0200
3323
+ Processing by DummyController#notify_airbrake_helper as HTML
3324
+ Parameters: {"foo"=>"bar"}
3325
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
3326
+ Completed 200 OK in 26.4ms (Views: 19.0ms | ActiveRecord: 0.0ms)
3327
+ Started GET "/notify_airbrake_helper?foo=bar" for 127.0.0.1 at 2019-03-28 20:14:15 +0200
3328
+ Processing by DummyController#notify_airbrake_helper as HTML
3329
+ Parameters: {"foo"=>"bar"}
3330
+ Rendered dummy/notify_airbrake_helper.html.erb within layouts/application (0.2ms)
3331
+ Completed 200 OK in 14.9ms (Views: 9.3ms | ActiveRecord: 0.0ms)
3332
+ Started GET "/resque" for 127.0.0.1 at 2019-03-28 20:14:18 +0200
3333
+ Processing by DummyController#resque as HTML
3334
+ Rendered dummy/resque.html.erb within layouts/application (0.2ms)
3335
+ Completed 200 OK in 2.8ms (Views: 1.2ms | ActiveRecord: 0.0ms)
3336
+ Started GET "/breakdown" for 127.0.0.1 at 2019-03-28 20:14:18 +0200
3337
+ Processing by DummyController#breakdown as HTML
3338
+  (0.0ms) begin transaction
3339
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "breakdown"]]
3340
+  (0.0ms) commit transaction
3341
+ #<AirbrakeTestError: after_commit>
3342
+ Book Load (0.1ms) SELECT "books".* FROM "books" 
3343
+ Rendered dummy/breakdown.html.erb within layouts/application (0.2ms)
3344
+ Completed 200 OK in 8.4ms (Views: 0.9ms | ActiveRecord: 0.2ms)
3345
+ Started GET "/delayed_job" for 127.0.0.1 at 2019-03-28 20:14:18 +0200
3346
+ Processing by DummyController#delayed_job as HTML
3347
+ Completed 500 Internal Server Error in 13.6ms
3348
+
3349
+ RSpec::Mocks::MockExpectationError (Airbrake received :notify with unexpected arguments
3350
+ expected: (anything, {"job"=>hash_including("handler"=>"--- !ruby/struct:BangoJob\nbingo: bingo\nbongo: bongo\n")})
3351
+ got: (#<Airbrake::Notice:0x00007feeee778668 @config=#<Airbrake::Config:0x00007feeee661860 @proxy={}, @queue...hash=4098448780163104265>]}>}, @truncator=#<Airbrake::Truncator:0x00007feef035a520 @max_size=10000>>)
3352
+ Diff:
3353
+ @@ -1,4 +1,8 @@
3354
+ -["anything",
3355
+ - {"job"=>
3356
+ - hash_including("handler"=>"--- !ruby/struct:BangoJob\nbingo: bingo\nbongo: bongo\n")}]
3357
+ +[#<Airbrake::Notice:0x00007feeee778668 @config=#<Airbrake::Config:0x00007feeee661860 @proxy={}, @queue_size=100, @workers=5, @code_hunks=true, @logger=#<Logger:0x00007feeee6617e8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007feeee661798 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007feeee661720 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/dev/null", @dev=#<File:/dev/null>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00007feeee661680>>>, @project_id=113743, @project_key="fd04e13d806a90f96614ad8e529b2822", @host="https://api.airbrake.io", @ignore_environments=[], @timeout=nil, @blacklist_keys=[], @whitelist_keys=[], @root_directory="/Users/kyrylo/Code/airbrake/airbrake/gemfiles", @versions={}, @performance_stats=false, @performance_stats_flush_period=1, @app_version="1.2.3", @endpoint=#<URI::HTTPS https://api.airbrake.io/api/v3/projects/113743/notices>>, @payload={:errors=>[{:type=>"AirbrakeTestError", :message=>"delayed_job error", :backtrace=>[{:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/dummy_app.rb", :line=>87, :function=>"perform"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>81, :function=>"block in invoke_job"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/delayed_job.rb", :line=>10, :function=>"block (2 levels) in <class:Airbrake>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>79, :function=>"block (2 levels) in add"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>61, :function=>"block in initialize"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>79, :function=>"block in add"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>66, :function=>"execute"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>40, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>78, :function=>"invoke_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>19, :function=>"block (2 levels) in enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>61, :function=>"block in initialize"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>66, :function=>"execute"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb", :line=>40, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>17, :function=>"block in enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>16, :function=>"tap"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>16, :function=>"enqueue_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb", :line=>12, :function=>"enqueue"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/dummy_app.rb", :line=>149, :function=>"delayed_job"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb", :line=>4, :function=>"send_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb", :line=>167, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb", :line=>10, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb", :line=>18, :function=>"block in process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>403, :function=>"_run__3876914363085639764__process_action__1303211941228265630__callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"__run_callback"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>385, :function=>"_run_process_action_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>81, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb", :line=>17, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb", :line=>29, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb", :line=>30, :function=>"block in process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb", :line=>123, :function=>"block in instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb", :line=>20, :function=>"instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb", :line=>123, :function=>"instrument"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb", :line=>29, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb", :line=>207, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb", :line=>18, :function=>"process_action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb", :line=>121, :function=>"process"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb", :line=>46, :function=>"process"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb", :line=>203, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb", :line=>14, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb", :line=>246, :function=>"block in action"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>73, :function=>"dispatch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>36, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>68, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>56, :function=>"each"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/journey-1.0.4/lib/journey/router.rb", :line=>56, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb", :line=>608, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>36, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>35, :function=>"catch"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/warden-1.2.7/lib/warden/manager.rb", :line=>35, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/best_standards_support.rb", :line=>17, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/etag.rb", :line=>23, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/conditionalget.rb", :line=>25, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/head.rb", :line=>14, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/params_parser.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/flash.rb", :line=>242, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/session/abstract/id.rb", :line=>210, :function=>"context"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/session/abstract/id.rb", :line=>205, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/cookies.rb", :line=>341, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb", :line=>64, :function=>"call"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/rack/middleware.rb", :line=>33, :function=>"call!"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/lib/airbrake/rack/middleware.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", :line=>479, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", :line=>28, :function=>"block in call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"_run__3934229911912318201__call__1549725132338445966__callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>405, :function=>"__run_callback"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>385, :function=>"_run_call_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", :line=>81, :function=>"run_callbacks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", :line=>27, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/reloader.rb", :line=>65, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb", :line=>31, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb", :line=>16, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb", :line=>56, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", :line=>32, :function=>"call_app"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", :line=>18, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb", :line=>22, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/methodoverride.rb", :line=>21, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/runtime.rb", :line=>17, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/activesupport-3.2.22.5/lib/active_support/cache/strategy/local_cache.rb", :line=>72, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-1.4.7/lib/rack/lock.rb", :line=>15, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/static.rb", :line=>83, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/engine.rb", :line=>484, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/application.rb", :line=>231, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/mock_session.rb", :line=>30, :function=>"request"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/test.rb", :line=>244, :function=>"process_request"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rack-test-0.6.3/lib/rack/test.rb", :line=>58, :function=>"get"}, {:file=>"/Users/kyrylo/Code/airbrake/airbrake/spec/integration/rails/rails_spec.rb", :line=>183, :function=>"block (3 levels) in <top (required)>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>254, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>254, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>500, :function=>"block in with_around_and_singleton_context_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>457, :function=>"block in with_around_example_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>464, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>604, :function=>"block in run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>342, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-wait-0.0.9/lib/rspec/wait.rb", :line=>46, :function=>"block (2 levels) in <top (required)>"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>447, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>447, :function=>"instance_exec"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>373, :function=>"execute_with"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>606, :function=>"block (2 levels) in run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>342, :function=>"call"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>607, :function=>"run_around_example_hooks_for"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb", :line=>464, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>457, :function=>"with_around_example_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>500, :function=>"with_around_and_singleton_context_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example.rb", :line=>251, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>629, :function=>"block in run_examples"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>625, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>625, :function=>"run_examples"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>591, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"block in run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb", :line=>592, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"block (3 levels) in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"map"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>116, :function=>"block (2 levels) in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb", :line=>1989, :function=>"with_suite_hooks"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>111, :function=>"block in run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb", :line=>74, :function=>"report"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>110, :function=>"run_specs"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>87, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>71, :function=>"run"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb", :line=>45, :function=>"invoke"}, {:file=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/exe/rspec", :line=>4, :function=>"<main>"}]}], :context=>{:version=>"1.2.3", :rootDirectory=>"/Users/kyrylo/Code/airbrake/airbrake/gemfiles", :hostname=>"Kyrylos-MacBook-Pro.local", :severity=>"error", :os=>"x86_64-darwin16", :language=>"ruby/2.4.2", :notifier=>{:name=>"airbrake-ruby", :version=>"4.2.0", :url=>"https://github.com/airbrake/airbrake-ruby"}}, :environment=>{:program_name=>"/Users/kyrylo/.gem/ruby/2.4.2/gems/rspec-core-3.8.0/exe/rspec"}, :session=>{}, :params=>{}}, @stash={:exception=>#<AirbrakeTestError: delayed_job error>, :rack_request=>#<ActionDispatch::Request:0x00007feef035a4f8 @env={"rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x00007feeee533b78>, "rack.errors"=>#<StringIO:0x00007feeee533d08>, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/delayed_job", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0", "rack.test"=>true, "REMOTE_ADDR"=>"127.0.0.1", "HTTP_HOST"=>"example.org", "HTTP_COOKIE"=>"", "ORIGINAL_FULLPATH"=>"/delayed_job", "action_dispatch.routes"=>#<ActionDispatch::Routing::RouteSet:0x00007feeedbbe390>, "action_dispatch.parameter_filter"=>[], "action_dispatch.secret_token"=>"ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>false, "action_dispatch.logger"=>#<Logger:0x00007feeee949ff0 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007feeee949f50 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x00007feeee949de8 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x00007feeee949f00 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/logs/32.log", @dev=#<File:/Users/kyrylo/Code/airbrake/airbrake/spec/apps/rails/logs/32.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00007feeee949eb0>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x00007feeedb07b40 @filters=[#<Proc:0x00007feeedb07988@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x00007feeedb078c0@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x00007feeedb07898@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x00007feeedb06fb0@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x00007feeedb06f88@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/backtrace_cleaner.rb:15>]>, "action_dispatch.request_id"=>"bfd80fb1764841f6969d31f0fec3f5d9", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x00007feeee523ae8 @env={...}, @middleware=#<ActionDispatch::RemoteIp:0x00007feeedbde5f0 @app=#<ActionDispatch::Reloader:0x00007feeedbde618 @app=#<ActionDispatch::Callbacks:0x00007feeedbde640 @app=#<ActiveRecord::ConnectionAdapters::ConnectionManagement:0x00007feeedbde668 @app=#<Airbrake::Rack::Middleware:0x00007feeedbde758 @app=#<ActiveRecord::QueryCache:0x00007feeedbde8e8 @app=#<ActionDispatch::Cookies:0x00007feeedbdea28 @app=#<ActionDispatch::Session::CookieStore:0x00007feeedbdefa0 @secrets=["072eb997f5c1ad0ef965002fbebf56560eb83d4407df1f52c910334ecb12"], @coder=#<Rack::Session::Cookie::Base64::Marshal:0x00007feeedbdebb8>, @app=#<ActionDispatch::Flash:0x00007feeedbdefc8 @app=#<ActionDispatch::ParamsParser:0x00007feeedbdf1a8 @app=#<ActionDispatch::Head:0x00007feeedbdf1d0 @app=#<Rack::ConditionalGet:0x00007feeedbdf1f8 @app=#<Rack::ETag:0x00007feeedbdf220 @app=#<ActionDispatch::BestStandardsSupport:0x00007feeedbdf270 @app=#<Warden::Manager:0x00007feeedbdf338 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{}, :intercept_401=>true}, @app=#<ActionDispatch::Routing::RouteSet:0x00007feeedbbe390>>, @header="IE=Edge,chrome=1">, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>, @parsers={#<Mime::Type:0x00007feeee320bb0 @synonyms=["text/xml", "application/x-xml"], @symbol=:xml, @string="application/xml", @hash=-2110781180386443340>=>:xml_simple, #<Mime::Type:0x00007feeee331d48 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json", @hash=2651781476765663895>=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"072eb997f5c1ad0ef965002fbebf56560eb83d4407df1f52c910334ecb12", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00007feeedbdebb8>}, @key="jiez4Mielu1AiHugog3shiiPhe3lai3faer", @cookie_only=true>>>>>>, @condition=#<Proc:0x00007feef035b790@/Users/kyrylo/.gem/ruby/2.4.2/gems/railties-3.2.22.5/lib/rails/application.rb:275 (lambda)>, @validated=false>, @check_ip=true, @proxies=/
3358
+ + ^127\.0\.0\.1$ | # localhost
3359
+ + ^(10 | # private IP 10.x.x.x
3360
+ + 172\.(1[6-9]|2[0-9]|3[0-1]) | # private IP in the range 172.16.0.0 .. 172.31.255.255
3361
+ + 192\.168 # private IP 192.168.x.x
3362
+ + )\.
3363
+ + /x>, @calculated_ip=false>, "rack.session"=>#<Rack::Session::Abstract::SessionHash:0x3ff7772908e8 not yet loaded>, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"072eb997f5c1ad0ef965002fbebf56560eb83d4407df1f52c910334ecb12", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x00007feeedbdebb8>, :id=>nil}, "rack.request.cookie_hash"=>{}, "rack.request.cookie_string"=>"", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x00007feeee520cd0 @secret="ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", @set_cookies={}, @delete_cookies={}, @host="example.org", @secure=false, @closed=false, @cookies={}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x00007feeee51b820 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x00007feeee520cd0 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x00007feeee51b730 @secret="ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8", @digest="SHA1", @serializer=Marshal>>>, "action_dispatch.request.unsigned_session_cookie"=>{}, "warden"=>Warden::Proxy:70332088638020 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{}, :intercept_401=>true}, "action_dispatch.request.path_parameters"=>{:controller=>"dummy", :action=>"delayed_job"}, "action_controller.instance"=>#<DummyController:0x00007feeee511f00 @_routes=nil, @_action_has_layout=true, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x00007feeee511d70 @env={...}, @filtered_parameters={"controller"=>"dummy", "action"=>"delayed_job"}, @method="GET", @fullpath="/delayed_job">, @_response=#<ActionDispatch::Response:0x00007feeee511d48 @body=[], @header={}, @status=200, @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x00007feeee511d70 @env={...}, @filtered_parameters={"controller"=>"dummy", "action"=>"delayed_job"}, @method="GET", @fullpath="/delayed_job">>, @_env={...}, @_prefixes=["dummy"], @_lookup_context=#<ActionView::LookupContext:0x00007feeee5116b8 @details_key=nil, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}, @skip_default_locale=false, @cache=true, @prefixes=["dummy"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x00007feeee511410 @paths=[#<ActionView::FixtureResolver:0x00007feef02b3cc0 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cached={#<ActionView::LookupContext::DetailsKey:0x00007feeedb6f150 @hash=4400462559880460223>=>{"index"=>{"dummy"=>{false=>{[]=>[dummy/index.html.erb]}}}, "application"=>{"layouts"=>{false=>{[]=>[layouts/application.html.erb]}}}, "notify_airbrake_sync_helper"=>{"dummy"=>{false=>{[]=>[dummy/notify_airbrake_sync_helper.html.erb]}}}, "notify_airbrake_helper"=>{"dummy"=>{false=>{[]=>[dummy/notify_airbrake_helper.html.erb]}}}, "resque"=>{"dummy"=>{false=>{[]=>[dummy/resque.html.erb]}}}, "breakdown"=>{"dummy"=>{false=>{[]=>[dummy/breakdown.html.erb]}}}}}, @hash={"layouts/application.html.erb"=>"<%= yield %>", "dummy/index.html.erb"=>"Hello from index", "dummy/notify_airbrake_helper.html.erb"=>"notify_airbrake_helper", "dummy/notify_airbrake_sync_helper.html.erb"=>"notify_airbrake_helper_sync", "dummy/active_record_after_commit.html.erb"=>"active_record_after_commit", "dummy/active_record_after_rollback.html.erb"=>"active_record_after_rollback", "dummy/active_job.html.erb"=>"active_job", "dummy/resque.html.erb"=>"resque", "dummy/delayed_job.html.erb"=>"delayed_job", "dummy/breakdown.html.erb"=>"breakdown"}>]>>, @_action_name="delayed_job", @_response_body=nil>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"dummy", "action"=>"delayed_job"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x00007feeee313bb8 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=4098448780163104265>]}>}, @truncator=#<Airbrake::Truncator:0x00007feef035a520 @max_size=10000>>]
3364
+ ):
3365
+ lib/airbrake/rack/middleware.rb:65:in `notify_airbrake'
3366
+ lib/airbrake/rack/middleware.rb:35:in `rescue in call!'
3367
+ lib/airbrake/rack/middleware.rb:40:in `call!'
3368
+ lib/airbrake/rack/middleware.rb:21:in `call'
3369
+
3370
+
3371
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:18 +0200
3372
+ Processing by DummyController#crash as HTML
3373
+  (0.1ms) begin transaction
3374
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3375
+  (0.0ms) commit transaction
3376
+ #<AirbrakeTestError: after_commit>
3377
+ Completed 500 Internal Server Error in 16.3ms
3378
+
3379
+ AirbrakeTestError (AirbrakeTestError):
3380
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3381
+ lib/airbrake/rack/middleware.rb:21:in `call'
3382
+
3383
+
3384
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:20 +0200
3385
+ Processing by DummyController#crash as HTML
3386
+  (0.0ms) begin transaction
3387
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3388
+  (0.0ms) commit transaction
3389
+ #<AirbrakeTestError: after_commit>
3390
+ Completed 500 Internal Server Error in 15.4ms
3391
+
3392
+ AirbrakeTestError (AirbrakeTestError):
3393
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3394
+ lib/airbrake/rack/middleware.rb:21:in `call'
3395
+
3396
+
3397
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:22 +0200
3398
+ Processing by DummyController#crash as HTML
3399
+  (0.0ms) begin transaction
3400
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3401
+  (0.0ms) commit transaction
3402
+ #<AirbrakeTestError: after_commit>
3403
+ Completed 500 Internal Server Error in 15.4ms
3404
+
3405
+ AirbrakeTestError (AirbrakeTestError):
3406
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3407
+ lib/airbrake/rack/middleware.rb:21:in `call'
3408
+
3409
+
3410
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:24 +0200
3411
+ Processing by DummyController#crash as HTML
3412
+  (0.0ms) begin transaction
3413
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3414
+  (0.0ms) commit transaction
3415
+ #<AirbrakeTestError: after_commit>
3416
+ Completed 500 Internal Server Error in 11.4ms
3417
+
3418
+ AirbrakeTestError (AirbrakeTestError):
3419
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3420
+ lib/airbrake/rack/middleware.rb:21:in `call'
3421
+
3422
+
3423
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:26 +0200
3424
+ Processing by DummyController#crash as HTML
3425
+  (0.0ms) begin transaction
3426
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3427
+  (0.0ms) commit transaction
3428
+ #<AirbrakeTestError: after_commit>
3429
+ Completed 500 Internal Server Error in 17.7ms
3430
+
3431
+ AirbrakeTestError (AirbrakeTestError):
3432
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3433
+ lib/airbrake/rack/middleware.rb:21:in `call'
3434
+
3435
+
3436
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:28 +0200
3437
+ Processing by DummyController#crash as HTML
3438
+  (0.0ms) begin transaction
3439
+ SQL (0.1ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3440
+  (0.1ms) commit transaction
3441
+ #<AirbrakeTestError: after_commit>
3442
+ Completed 500 Internal Server Error in 9.2ms
3443
+
3444
+ AirbrakeTestError (AirbrakeTestError):
3445
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3446
+ lib/airbrake/rack/middleware.rb:21:in `call'
3447
+
3448
+
3449
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:30 +0200
3450
+ Processing by DummyController#crash as HTML
3451
+  (0.0ms) begin transaction
3452
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3453
+  (0.0ms) commit transaction
3454
+ #<AirbrakeTestError: after_commit>
3455
+ Completed 500 Internal Server Error in 20.5ms
3456
+
3457
+ AirbrakeTestError (AirbrakeTestError):
3458
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3459
+ lib/airbrake/rack/middleware.rb:21:in `call'
3460
+
3461
+
3462
+ Started GET "/crash" for 127.0.0.1 at 2019-03-28 20:14:32 +0200
3463
+ Processing by DummyController#crash as HTML
3464
+  (0.1ms) begin transaction
3465
+ SQL (0.0ms) INSERT INTO "books" ("title") VALUES (?) [["title", "book"]]
3466
+  (0.0ms) commit transaction
3467
+ #<AirbrakeTestError: after_commit>
3468
+ Completed 500 Internal Server Error in 18.2ms
3469
+
3470
+ AirbrakeTestError (AirbrakeTestError):
3471
+ lib/airbrake/rack/middleware.rb:33:in `call!'
3472
+ lib/airbrake/rack/middleware.rb:21:in `call'
3473
+
3474
+