Skip to content

Commit

Permalink
Merge pull request #1160 from sul-dlss/workaround-newrelic
Browse files Browse the repository at this point in the history
Workaround bug in newrelic with missing identifier class method
  • Loading branch information
corylown authored Sep 30, 2024
2 parents 60d5ba4 + 5ea0498 commit e236751
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/initializers/newrelic_monkeypatch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# workaround for bug https://github.com/newrelic/newrelic-ruby-agent/issues/2869
class ViewComponent::Base
def self.identifier
source_location
end
end

0 comments on commit e236751

Please sign in to comment.