Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Check train status when receiving train start events #5

Open
migraf opened this issue Dec 21, 2021 · 1 comment
Open

Check train status when receiving train start events #5

migraf opened this issue Dec 21, 2021 · 1 comment

Comments

@migraf
Copy link
Contributor

migraf commented Dec 21, 2021

  • When train is already running send back message
@tada5hi
Copy link
Member

tada5hi commented Dec 22, 2021

I think it would be even better, if the train router would respond with a "TRAIN_NOT_FOUND" error code in case of a start event where the train was not found in pht_incoming.
The next step for the train router in my opinion would be, to find the train and check if the assumption is correct, that the train has alraedy been started. Otherwise contact the Train Builder and retrigger a train build. #self sustaining 😁

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants