Skip to content

Commit

Permalink
Fix incorrect way to access error captor class
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Nov 19, 2024
1 parent 867258a commit 56f8664
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 9.19.1 - 2024/11/19

## Fixes

- Fix incorrect access of error captor class [703](https://github.com/bugsnag/maze-runner/pull/703)

# 9.19.0 - 2024/11/18

## Enhancements
Expand Down
2 changes: 1 addition & 1 deletion lib/maze.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Glues the various parts of MazeRunner together that need to be accessed globally,
# providing an alternative to the proliferation of global variables or singletons.
module Maze
VERSION = '9.19.0'
VERSION = '9.19.1'

class << self
attr_accessor :check, :driver, :internal_hooks, :mode, :start_time, :dynamic_retry, :public_address,
Expand Down
2 changes: 1 addition & 1 deletion lib/maze/bugsnag_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def initialize(middleware)
end

def call(report)
Maze::ErrorCaptor.instance.add_captured_error(report.dup)
Maze::ErrorCaptor.add(report.dup)

@middleware.call(report)
end
Expand Down

0 comments on commit 56f8664

Please sign in to comment.