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: check v.Errors length to avoid panic #21

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chrisyxlee
Copy link

@chrisyxlee chrisyxlee commented Dec 20, 2024

fixes #20

FYI I ran go fmt on the code, so more things got changed. Let me know if you want me to undo. EDIT: undone in b9a50a8

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.

api_metrics_query_RunMetricQueries: Panic when accessing Errors[0] without checking length for 400 error
1 participant