Skip to content

Commit

Permalink
Update for the Sinatra adapter to use the new should_notify? function
Browse files Browse the repository at this point in the history
  • Loading branch information
grk committed Mar 16, 2010
1 parent e5ac448 commit db25ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lilypad/adapters/sinatra.rb
Expand Up @@ -2,7 +2,7 @@ class Lilypad
module Sinatra

def self.included(base)
base.set(:raise_errors, true) if Lilypad.production?
base.set(:raise_errors, true) if Lilypad.should_notify?
end
end
end
Expand All @@ -13,4 +13,4 @@ def self.included(base)

if defined?(Sinatra::Application)
Sinatra::Application.send(:include, Lilypad::Sinatra)
end
end

0 comments on commit db25ea0

Please sign in to comment.