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

Issue #129 - Add error handling for playback module datastore connection #130

Merged
merged 3 commits into from
Aug 29, 2019

Conversation

aywaldron
Copy link
Contributor

@aywaldron aywaldron commented Aug 22, 2019

Previously, failure to connect to the specified datastore crashed the GUI plugin.
Now, on a failed datastore connection the playback functionality will not work but the rest of the GUI will continue to run.

MJJoyce and others added 3 commits August 20, 2019 15:59
Update the server endpoints and Playback class so a failed database
connection doesn't prevent the GUI Plugin from functioning / booting
normally. The Playback class tracks whether playback is "enabled" and
the server endpoints use this status flag to determine how best to
respond to requests.
Update the Playback component to display a warning banner if no valid
time ranges were returned from the backend. This can either be because
there's no valid time ranges of data in the database or (more likely)
because the database connection isn't configured or failed.
@aywaldron aywaldron requested review from a team as code owners August 22, 2019 00:10
@MJJoyce
Copy link
Member

MJJoyce commented Aug 22, 2019

👍

@MJJoyce MJJoyce merged commit eaf1133 into master Aug 29, 2019
@aywaldron aywaldron deleted the issue-129 branch September 9, 2019 16:36
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

Successfully merging this pull request may close these issues.

2 participants