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
dor-services-app errors raised need to surface more info to caller #331
Projects
Comments
ndushay
changed the title
errors raised need to get more info back to dor-services-client
errors raised need to surface more info to caller
Aug 18, 2019
ndushay
changed the title
errors raised need to surface more info to caller
dor-services-app errors raised need to surface more info to caller
Aug 19, 2019
mjgiarlo
added a commit
that referenced
this issue
Aug 22, 2019
See https://github.com/sul-dlss/dor-services-client/blob/7c98ed2db0a42f61f32aeac5cc114963e21f7d55/lib/dor/services/client/object.rb#L112-L115 as one way to handle it for specific actions ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(related to sul-dlss/common-accessioning/issues/188)
For example, this is what the dor-services-client gets from a raised error in the app for the publish action:
"Dor::Services::Client::UnexpectedResponse: Internal Server Error: 500 ()" (see https://app.honeybadger.io/projects/52894/faults/50003137, which was thrown for
bq454cj1549
going through common-accessioning)the corresponding dor-services-app error: https://app.honeybadger.io/projects/50568/faults/49013058, which is the same as:
When I take the mods from
bq454cj1549
, which isand I run that mods xml through the DublinCoreService
.ng_xml
method, there is more detail:I would be great to get the specific error and its message included in the 500 error consumed by the caller.
This is probably a rails config setting or settings that can be changed (e.g. in
config/application.rb
):https://guides.rubyonrails.org/v5.2/configuring.html#rails-general-configuration
local_request?
on the object controller at a minimum, I'd say.https://apidock.com/rails/Rails/ApplicationController/local_request%3F
The text was updated successfully, but these errors were encountered: