Skip to content

Conversation

@aauren
Copy link
Collaborator

@aauren aauren commented Dec 1, 2025

Always embed the root cause error on returned errors so that the root cause can be determined.

Fixes #1962

FYI @zerkms

As an aside, I'm pretty sure that there are other places in the code besides node.go that drop the root cause errors, but I want to wait until we merge @catherinetcai's PR #1914 to get merged before I go through and clean up error handling across the entire code base as it will just cause a bunch or refactoring work if I do it now.

@aauren aauren force-pushed the fix_missing_error_embed branch from 269bbd2 to 8c9d25f Compare December 1, 2025 01:46
@aauren aauren merged commit fcdb0ed into master Dec 3, 2025
7 checks passed
@aauren aauren deleted the fix_missing_error_embed branch December 3, 2025 00:03
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.

utils.GetNodeSubnet does not include the original error in the error message

3 participants