test/dummy/log/development.log in errdo-0.12.0 vs test/dummy/log/development.log in errdo-0.12.1

- old
+ new

@@ -49683,5 +49683,43 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  + + +Started GET "/" for 127.0.0.1 at 2016-11-20 16:15:38 -0500 + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.3ms) +Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) + + +Started GET "/static/generic_error" for 127.0.0.1 at 2016-12-01 19:18:45 -0500 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + + + Errdo::Error Load (0.9ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "error_occurrences" ("ip", "user_agent", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["user_agent", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "---\nremember_user_token: W1sxXSwiJDJhJDEwJC9DbmZGRzNSQVd4VnlsWVNLdFJtVGUiLCIxNDc5NTkyMzk1LjM0MTExNjciXQ==--8a6748f30e89e765bea9d3050937b6ec2e7b7f89\n_ga: GA1.1.2096945490.1464561447\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 5], ["created_at", "2016-12-02 00:18:45.932184"], ["updated_at", "2016-12-02 00:18:45.932184"]] + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 5]] + Errdo::Error Exists (0.5ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 5) LIMIT 1 + SQL (0.7ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 69], ["last_occurred_at", "2016-12-02 00:18:45.932184"], ["updated_at", "2016-12-02 00:18:45.962370"], ["id", 5]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 5) LIMIT 1 + SQL (2.3ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", nil], ["last_experiencer_type", nil], ["updated_at", "2016-12-02 00:18:45.984969"], ["id", 5]] +  (6.5ms) commit transaction + Errdo::ErrorOccurrence Load (0.4ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.7ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 OFFSET 1 + Errdo::ErrorOccurrence Load (4.9ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 1 + Errdo::ErrorOccurrence Load (1.7ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 2 + Errdo::ErrorOccurrence Load (2.3ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 + Errdo::ErrorOccurrence Load (4.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 100 + Errdo::ErrorOccurrence Load (1.7ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY created_at DESC LIMIT 1 OFFSET 1 + Errdo::ErrorOccurrence Load (1.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."id" DESC LIMIT 1 OFFSET 1 [["error_id", 5]] + Errdo::ErrorOccurrence Load (1.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 5]] + Errdo::ErrorOccurrence Load (1.7ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 0 [["error_id", 5]] + Errdo::ErrorOccurrence Load (0.5ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1