Skip to content

Comments

Writer: roll back buffer after exceptions#213

Merged
lonvia merged 1 commit intoosmcode:masterfrom
lonvia:rollback-after-errors
Oct 24, 2022
Merged

Writer: roll back buffer after exceptions#213
lonvia merged 1 commit intoosmcode:masterfrom
lonvia:rollback-after-errors

Conversation

@lonvia
Copy link
Member

@lonvia lonvia commented Oct 24, 2022

If an exception was caught on the Python side, then the item that caused the exception would remain in the buffer and be written out with the next valid item.

Fixes #212.

If an exception was caught on the Python side, then the item that
caused the exception would remain in the buffer and be written out
with the next valid item.

Fixes osmcode#212.
@lonvia lonvia merged commit 2a350cf into osmcode:master Oct 24, 2022
@lonvia lonvia deleted the rollback-after-errors branch October 24, 2022 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

SimpleWriter.add_node can write invalid nodes on error

1 participant