Skip to content

Commit d64aa6a

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents b86f325 + 88dba64 commit d64aa6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/exception_notifier/github_notifier.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def initialize(options)
1818
def call(exception, options = {})
1919
@exception = exception
2020
@env = options[:env]
21-
@kontroller = @env['action_controller.instance']
2221
@data = (@env && @env['exception_notifier.exception_data'] || {}).merge(options[:data] || {})
2322
unless @env.nil?
23+
@kontroller = @env['action_controller.instance']
2424
@request = ActionDispatch::Request.new(@env)
2525
@request_hash = hash_from_request
2626
@session = @request.session

0 commit comments

Comments
 (0)