We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While looking at HAL push failures for Mathieu, I noticed that some failed pushes get flagged as successes. I believe the culprit is https://github.com/inspirehep/inspirehep/blob/cbd3c39f54eee1b4ab584d2dd966d6f0dd4a228f/backend/inspirehep/hal/tasks.py#L106-L110: we catch the exception and handle duplicate ids in a special way, but we don't reraise the exception in case it's not a duplicate ID, so it's handled as a success and not a failure down the line.
The text was updated successfully, but these errors were encountered:
TECH Add else branch here https://github.com/inspirehep/inspirehep/blob/cbd3c39f54eee1b4ab584d2dd966d6f0dd4a228f/backend/inspirehep/hal/tasks.py#L110 and raise a custom exception (sth like HALCreateException) with the custom message payload
else
HALCreateException
Sorry, something went wrong.
PascalEgn
No branches or pull requests
While looking at HAL push failures for Mathieu, I noticed that some failed pushes get flagged as successes. I believe the culprit is https://github.com/inspirehep/inspirehep/blob/cbd3c39f54eee1b4ab584d2dd966d6f0dd4a228f/backend/inspirehep/hal/tasks.py#L106-L110: we catch the exception and handle duplicate ids in a special way, but we don't reraise the exception in case it's not a duplicate ID, so it's handled as a success and not a failure down the line.
The text was updated successfully, but these errors were encountered: