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

Add error catching for out of range platefile index #231

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

twsouthwick
Copy link
Collaborator

Currently, if an image is being attempted to be grabbed from within a platefile but its indexes don't exist, the request will fail with a 500. This adds exception handling that can be caught, logged, and then null returned rather than bubbling up as an uncaught exception.

Related: #226

Currently, if an image is being attempted to be grabbed from within a platefile but its indexes don't exist, the request will fail with a 500. This adds exception handling that can be caught, logged, and then null returned rather than bubbling up as an uncaught exception.
@twsouthwick twsouthwick merged commit bb0a833 into WorldWideTelescope:master Nov 25, 2020
@twsouthwick twsouthwick deleted the catch-exception branch November 25, 2020 16:02
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