Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deletion of non-existent entity fails silently #20

Open
npaun opened this issue Nov 7, 2019 · 0 comments
Open

Deletion of non-existent entity fails silently #20

npaun opened this issue Nov 7, 2019 · 0 comments

Comments

@npaun
Copy link
Contributor

npaun commented Nov 7, 2019

If an attempt is made to delete an entity which does not exist from a GTFS table, no exception is raised, hiding potential bugs in callers. An exception should be raised by default; if 'delete if exists' behaviour is desired for some cases, a new function could be created to handle that.

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

No branches or pull requests

1 participant