Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sauy7 committed Jul 29, 2017
2 parents b86f325 + 88dba64 commit d64aa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exception_notifier/github_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def initialize(options)
def call(exception, options = {})
@exception = exception
@env = options[:env]
@kontroller = @env['action_controller.instance']
@data = (@env && @env['exception_notifier.exception_data'] || {}).merge(options[:data] || {})
unless @env.nil?
@kontroller = @env['action_controller.instance']
@request = ActionDispatch::Request.new(@env)
@request_hash = hash_from_request
@session = @request.session
Expand Down

0 comments on commit d64aa6a

Please sign in to comment.