-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add bugsnag gem * Add bugsnag api key to credentials * Add bugsnag initialize * Reorder rescue in AppController * Log handled exceptions * Exclude authz errors from logging * Avoid re-notifying an exception * Update app/controllers/application_controller.rb Co-authored-by: Justin <[email protected]> --------- Co-authored-by: Justin <[email protected]>
- Loading branch information
Showing
5 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
B8stKWMaJ/RVHL44hfyXskbZj+ioVbNZ0V4Jx8u6JSIhY0rbL7QDNqZGnguv1jR/OUN1DNeR6MvNP3nPAfXuSFW9Iq3T5wZgqOga5k4cB/wupr66FyBx+EkuE8Xp6ghDrCZHoxkAyMkly7WfXzpp1linj4Dt5YyU2V7cK7b6JA4JEa/1/8faHeNC2h4PwSHbQqoVyGk24yvu9vSn8/0q0Wp8gSwh8/1gPWva5Xa4S65CaMHgl9OqavtwZ7EpV9infVYoQd0cbhT9nK/EutMl9/n6hraxAir/XsiNJZvC7teDGfpWMw0gR3U8AbL9rFVSqXOfeDymjPM2GCf/mMe8eeAO9TKXQJcvcQ37fVOwqMgzmMGQA6+KcZJDY81JI9Dwz+u9X2+gh88f0rP7BkxTtTl7EbSTLqWhNCvPNE0lm252vJ2EVWcK6rNaYwr8gmFNmsF8j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dw1wbPW54HwY+mlq9G/Out3hNo/nTcY171xl9xI7utMKD0wvIQIVqId5xoAT+hJosJXcbM24tCvjd4Q3zGeH0xEwvgmgCojcTwcCX7Jn9tqU1Iy3F4KUQpll/kPz32TmruZA3pPGgqWNfr96ogJ1qPaWvI+6R9ZGmbKAdrufLdm4//pZBMUkXlRBk89Sl0dSZliw3LfSyAIOsVjOkQfftU+c63iWZCQ5eUxoIPaDo4p8YkftTbUKZmk+pAgon2kau2CtLVF9FbjA+MFB5xVmPi+JchKDT+knWjPIHE0vg9ePBoU26S4HAu29JQnLnwEAfK1hdJkClPl9HTIdDaZ38Ld1b68MR96s9ZlLk2EARm9Pc8UEjtNXS2o+7t1tLZoVllXd+MrWPHjaoKUWMaSc2TnNzMtVnVfB+Bxi6qYDs0Blbjwk+mwWsMsnlDIF38Fbrkt8YyMfJ9CBeFaAzi1BJw54NJ784UluEo3QUc5T1WRan3H6Nb5dgBSq9VhWGV0QKSJEtc2IvmDrfE3qn8IaR3E7NZbV6UoeczwEwnTI9HuvrZ0WkNdNugx8E1Dk/c8ZVjLmtcsB2XlQtW4mtzWGj+k9ZUuRCXe032xQwJbgHtBHbtVLi4SbRvYyiU5m4JfORuaMMu/V9EZXPjLvAyWdRlVKDptu+CbPgbbG0GPMSOpx/XfV0QgolZ0kgUTemawSTeBDVnkvufwIaOfImfEt5U/QnMUYJyR0ZBpjAXNqaE+bb+qVe+yBOJIWY6SETlPfIhWDfVfCDm+RY--BTHcPE2kQRjxri/C--sSAa87XeJ0VAblR+MOmoBg== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
if Rails.application.credentials.bugsnag_api_key.present? | ||
Bugsnag.configure do |config| | ||
config.api_key = Rails.application.credentials.bugsnag_api_key | ||
end | ||
else | ||
Bugsnag.configuration.logger = ::Logger.new("/dev/null") | ||
end |