Skip to content

Commit

Permalink
Merge pull request #1540 from psu-libraries/1537-add-bugsnag
Browse files Browse the repository at this point in the history
1537 add bugsnag
  • Loading branch information
jlandiseigsti authored Jul 2, 2024
2 parents 5360a4e + f535152 commit 6f846e4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 18 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem 'blacklight', '~> 7.14'
gem 'blacklight_oai_provider', github: 'projectblacklight/blacklight_oai_provider', ref: '428da77'
gem 'bootsnap', '>= 1.4.2', require: false
gem 'browser'
gem 'bugsnag', '~> 6.26'
gem 'cocoon'
gem 'devise'
gem 'diffy'
Expand Down Expand Up @@ -62,6 +63,7 @@ group :development, :test do
gem 'database_cleaner'
gem 'factory_bot_rails'
gem 'faker'
gem 'html_tokenizer', '~> 0.0.8'
gem 'niftany', '~> 0.10'
gem 'pry-byebug'
gem 'pry-rails'
Expand Down Expand Up @@ -100,7 +102,6 @@ group :test do
end

group :production do
gem 'ddtrace', '~> 0.34'
gem 'lograge', '~> 0.11'
gem 'lograge-sql', '~> 1.1'
end
9 changes: 5 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ GEM
bootsnap (1.13.0)
msgpack (~> 1.2)
browser (4.2.0)
bugsnag (6.27.1)
concurrent-ruby (~> 1.0)
builder (3.2.4)
byebug (11.1.3)
capybara (3.39.2)
Expand All @@ -149,8 +151,6 @@ GEM
crass (1.0.6)
database_cleaner (1.8.5)
date (3.3.4)
ddtrace (0.38.0)
msgpack
debug_inspector (1.1.0)
deprecation (1.1.0)
activesupport
Expand Down Expand Up @@ -228,7 +228,7 @@ GEM
concurrent-ruby (~> 1.0)
hashdiff (1.0.1)
hashie (5.0.0)
html_tokenizer (0.0.7)
html_tokenizer (0.0.8)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
Expand Down Expand Up @@ -601,11 +601,11 @@ DEPENDENCIES
blacklight_oai_provider!
bootsnap (>= 1.4.2)
browser
bugsnag (~> 6.26)
byebug
capybara
cocoon
database_cleaner
ddtrace (~> 0.34)
devise
diffy
edtf
Expand All @@ -617,6 +617,7 @@ DEPENDENCIES
flamegraph
flog
graphql (~> 1.12)
html_tokenizer (~> 0.0.8)
image_processing
jbuilder (~> 2.7)
jquery-rails
Expand Down
6 changes: 6 additions & 0 deletions config/initializers/bugsnag.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true

Bugsnag.configure do |config|
config.app_version = ENV.fetch('APP_VERSION', nil)
config.release_stage = ENV.fetch('BUGSNAG_RELEASE_STAGE', 'development')
end
13 changes: 0 additions & 13 deletions config/initializers/datadog.rb

This file was deleted.

0 comments on commit 6f846e4

Please sign in to comment.