Skip to content

Conversation

@anson627
Copy link
Contributor

@anson627 anson627 commented Jan 8, 2026

This pull request makes a small but important improvement to error handling in the ApplyPriorityLevelConfiguration function. The changes update the way errors are wrapped, making them more informative and compatible with Go's error unwrapping.

  • Improved error wrapping:
    • Changed all error returns in ApplyPriorityLevelConfiguration in helper.go to use the %w verb in fmt.Errorf, allowing errors to be wrapped and unwrapped according to Go best practices. [1] [2]…pping errors

@anson627 anson627 merged commit 9048133 into main Jan 14, 2026
4 checks passed
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