Skip to content

Commit

Permalink
Merge pull request #66 from sul-dlss/fix-error-message
Browse files Browse the repository at this point in the history
Add a missing slash to the error message
  • Loading branch information
peetucket authored Mar 18, 2019
2 parents 385890a + 22265c2 commit 6b04d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dor/services/workflow_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def workflow_resource_method(uri_string, meth = 'get', payload = '', opts = {})
response.body
end
rescue *workflow_service_exceptions_to_catch => e
msg = "Failed to retrieve resource: #{meth} #{base_url}#{uri_string}"
msg = "Failed to retrieve resource: #{meth} #{base_url}/#{uri_string}"
msg += " (HTTP status #{e.response[:status]})" if e.respond_to?(:response) && e.response
raise Dor::WorkflowException, msg
end
Expand Down

0 comments on commit 6b04d1c

Please sign in to comment.