Skip to content

Print error code alongside label in statistics output from RoT#250

Open
xorptr wants to merge 1 commit intogoogle:mainfrom
xorptr:statistics_error_number
Open

Print error code alongside label in statistics output from RoT#250
xorptr wants to merge 1 commit intogoogle:mainfrom
xorptr:statistics_error_number

Conversation

@xorptr
Copy link
Copy Markdown
Collaborator

@xorptr xorptr commented Apr 28, 2026

Sometimes RoT can send an error code which might not have a corresponding label defined in the running htool version (like cases where RoT introduces a new error code). In such a case htool will just print "Invalid Status Code", which is not helpful for debugging.

This change adds integer error codes to output in statistics so that the error scenario can be determined even if htool does not have corresponding error label

Sometimes RoT can send an error code which might not have a corresponding label defined in the running htool version (like cases where RoT introduces a new error code). In such a case htool will just print "Invalid Status Code", which is not helpful for debugging.

This change adds integer error codes to output in statistics so that the error scenario can be determined even if htool does not have corresponding error label
@xorptr xorptr requested review from cjevans-google and rkr35 April 28, 2026 18:24
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.

1 participant