Skip to content

Fix 404 handling for nonexistent bibs - #201

Open
nickfreese wants to merge 2 commits into
masterfrom
handle-404-bib
Open

Fix 404 handling for nonexistent bibs#201
nickfreese wants to merge 2 commits into
masterfrom
handle-404-bib

Conversation

@nickfreese

Copy link
Copy Markdown
Contributor

fix error in catch block when retreiving bib from API results in a 404. allow next block to handle showing the patron facing 404.

Also fix deprecation warning for null param in round function

…4. allow next block to handle showing the patron facing 404. Also fix deprecation warning for null param in round function
@nickfreese

Copy link
Copy Markdown
Contributor Author

Refactored the response section so that it returns a 404 status code. Hopefully that helps the bots recognize it as nothing

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.

1 participant