Skip to content

Better handling of DOI service errors#1319

Merged
markpatton merged 2 commits intomainfrom
1223-book-doi
Mar 23, 2026
Merged

Better handling of DOI service errors#1319
markpatton merged 2 commits intomainfrom
1223-book-doi

Conversation

@markpatton
Copy link
Copy Markdown
Contributor

@markpatton markpatton commented Mar 20, 2026

This pr adds specific error messages for the different DOI service error conditions.
Also the invalid doi message is not displayed when there is an actual message from the DOI service.
The big change is that now a DOI to something other than an article is handled better.
For example try https://doi.org/10.1017/CBO9781107445253.

This pr should be tested against eclipse-pass/pass-core#134, but will work without it.

@sonarqubecloud
Copy link
Copy Markdown

@markpatton markpatton requested a review from jaredgalanis March 20, 2026 14:30
@markpatton markpatton merged commit fef221a into main Mar 23, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants