Skip to content

server side timeout of alternative routes results in JS error #70

Closed

Description

@karussell

error in the UI is

(intermediate value).hints is undefined

but it should better show "500 Internal Server Error" or something.

Example: https://graphhopper.com/maps2/?point=51.11452800111718%2C10.591936151781283&point=48.8588897%2C2.320041027461107&profile=foot (probably alternative route calculation takes too long for this distance.)

Activity

  1. Janekdererste commented on Jun 3, 2021

    @Janekdererste
    Collaborator

    I guess this could become a more general issue about error messages. So far errors are caught and an Error Action is dispatched. Then we have an Error Store, which just swallows the dispatched error message. This could be more elaborate I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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