Skip to content

fix: check v.Errors length to avoid panic#22

Open
chrisyxlee wants to merge 4 commits intoSumoLogic-Labs:mainfrom
chrisyxlee:fix-panic
Open

fix: check v.Errors length to avoid panic#22
chrisyxlee wants to merge 4 commits intoSumoLogic-Labs:mainfrom
chrisyxlee:fix-panic

Conversation

@chrisyxlee
Copy link

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


FYI: Recreating this PR because I needed to switch branches. The original is at #21.

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