Skip to content

Comments

Add much better error handling#19

Merged
damontecres merged 5 commits intomainfrom
error-handling
Jan 3, 2024
Merged

Add much better error handling#19
damontecres merged 5 commits intomainfrom
error-handling

Conversation

@damontecres
Copy link
Owner

Queries (except for the connection test) are migrated to QueryEngine which incorporates extra error handling for network, HTTP, and syntax errors.

Additionally, activities that performer multiple queries use async to prevent propagating exceptions. This means on the main page, an error during the performers query won't crash the app nor prevent the scenes/studio queries from completing.

Errors are logged as toasts including the name for easier debugging.

This PR might help figure out what's happening in #12

@damontecres damontecres added bug Something isn't working enhancement New feature or request labels Jan 3, 2024
@damontecres damontecres merged commit 4dfe06e into main Jan 3, 2024
@damontecres damontecres deleted the error-handling branch January 3, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant