Skip to content

Handle tile bound errors (as 404) #60

@drewbo

Description

@drewbo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions