Skip to content

Commit

Permalink
Capture exceptions for raven as well
Browse files Browse the repository at this point in the history
  • Loading branch information
codez authored and amaierhofer committed Dec 20, 2024
1 parent ebdd58a commit 9bfeb65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/sac_cas/qualifications_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def save_entry
entry.save context: :qualifications_controller
rescue PG::Error => e
Airbrake.notify(e, parameters: params)
Raven.capture_exception(e, extra: {params: params})
logger.error e.message
false
end
Expand Down

0 comments on commit 9bfeb65

Please sign in to comment.