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

Handle tile bound errors (as 404) #60

Open
drewbo opened this issue Sep 7, 2020 · 1 comment
Open

Handle tile bound errors (as 404) #60

drewbo opened this issue Sep 7, 2020 · 1 comment

Comments

@drewbo
Copy link
Contributor

drewbo commented Sep 7, 2020

Currently tile outside of bounds errors end up in the logs (making debugging more difficult) and as a 500 error (not the best user response). We can catch these and handle:

rio_tiler.errors.TileOutsideBounds: Tile 9/449/202 is outside image bounds

cc: @leothomas @vincentsarago

@vincentsarago
Copy link
Contributor

Yeah we fixed this upstream by adding a middleware

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