Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Remove unnecessary Dor::ParameterError
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-collier committed Dec 21, 2018
1 parent 9c4655c commit c3361c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/was/registrar/register_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def register_object_using_web_service(register_params)
Rails.logger.debug "Registering an object with params #{register_params}"
begin
response = Dor::Services::Client.register(params: register_params)
rescue Dor::ParameterError, StandardError => e
rescue StandardError => e
Rails.logger.error 'Error in registering the object. ' + e.message
Honeybadger.notify(e)
raise
Expand Down

0 comments on commit c3361c3

Please sign in to comment.