Skip to content
This repository was archived by the owner on Apr 17, 2021. It is now read-only.
This repository was archived by the owner on Apr 17, 2021. It is now read-only.

Api fails when not terminus is provided in the result #1

@stanislasgodel

Description

@stanislasgodel

There are cases when the sncf API doesn't return a terminus for train' it's documented in the api as a case occurring if the terminus is not known in the referencial of stations of transilien.
For instance, it happens regularly when trying to get the results for Paris Saint Lazare.
In that case, there's an un aught exception raised in format module . extractNode tries to call unshift on a undefined value.

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