8000 Propagate exceptions from SqlStorageBatchThread up to SqlStorage · Issue #117 · biocommons/anyvar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Propagate exceptions from SqlStorageBatchThread up to SqlStorage #117

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

Open
theferrit32 opened this issue Feb 25, 2025 · 0 comments
Open

Comments

@theferrit32
Copy link
Collaborator

If there's an error inserting rows in the batch thread, it crashes in the background and this is not apparent from the main thread. Maybe a helper function on SqlStorage to check is_alive() and raise an exception. If the thread stores the exception in a property on itself the SqlStorage or batch manager can check it if is_alive() is false.

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
0