Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap it in a rescue #5655

Merged
merged 1 commit into from
May 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/controllers/case_contacts/form_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ def update
if @case_contact.active?
# do nothing
else
begin
params[:case_contact] ||= []
params[:case_contact][:status] = step.to_s # TODO: where is this used?? what is it for??
rescue => e
# TODO https://app.bugsnag.com/ruby-for-good/casa/errors/6637007c6857010008cfc9dd
Bugsnag.notify(e)
end
end

remove_unwanted_contact_types
Expand Down
Loading