Skip to content

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

Closed
chrisyxlee wants to merge 4 commits intoSumoLogic-Labs:mainfrom
chrisyxlee:main
Closed

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

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

@chrisyxlee
Copy link
Author

closing in favor of #22

@chrisyxlee chrisyxlee closed this Jan 7, 2025
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