Skip to content

If a station can't be found, getTrains gives a 500 exception #1

Description

@basdado

If a station has coordinates, but the train map does not have a any nodes near these coordinates, the following exception is thrown:

java.lang.IllegalStateException: Could not find railway nodes near to coordinate [51.5385828,7.6953056]

See the attached stacktrace log

This causes a 500 response to the client, causing no trains to display (even though the problem is with just one station

trainfinder_unknown_station_stacktrace.zip
...)

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions