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

Catch 500 errors on ingest #2

Open
jcoyne opened this issue Oct 14, 2011 · 1 comment
Open

Catch 500 errors on ingest #2

jcoyne opened this issue Oct 14, 2011 · 1 comment
Assignees

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Oct 14, 2011

When calling RestApiClient#ingest we get an error: "500 Internal Server Error"

debugging indicates the server is giving this message:
The PID 'hydrangea:fixture_mods_article1' already exists in the registry; the object can't be re-created.

But it just raises a 500 exception up to the application level. We can probably throw something more helpful.

@ghost ghost assigned jcoyne Oct 14, 2011
@cbeer
Copy link
Contributor

cbeer commented Oct 14, 2011

Agreed. There are likely a number of Fedora errors that Rubydora could rethrow better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants