Skip to content

Commit

Permalink
Fixed airbrake
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilawal Hameed committed Apr 13, 2017
1 parent ab928fa commit 1c23c4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 56 deletions.
56 changes: 0 additions & 56 deletions config/initializers/airbrake.rb

This file was deleted.

8 changes: 8 additions & 0 deletions no_light_sinatra.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
require_relative 'models/submission'

Airbrake.configure do |c|
c.project_id = 141503
c.project_key = '94823b6fc825a7bd16f6fc359d0ac501'
c.logger = NoLightSinatra.logger
c.ignore_environments = %w(test)
c.blacklist_keys = [/password/i]
end

class NoLightSinatra < Sinatra::Base
set public_folder: 'public', static: true

Expand Down

0 comments on commit 1c23c4e

Please sign in to comment.