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

fix: crash around setting current epoch #79

Merged
merged 1 commit into from
Sep 24, 2023
Merged

Conversation

wolf31o2
Copy link
Member

In some cases, our metrics may not be fetched correctly by the time we initialize. Guard around this by checking if our metrics are nil before trying to use them.

Closes #76

Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
@wolf31o2 wolf31o2 merged commit 14ffd7e into main Sep 24, 2023
7 checks passed
@wolf31o2 wolf31o2 deleted the fix/crash-current-epoch branch September 24, 2023 16:54
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.

Crash setting current epoch
2 participants