Commit 2ba47d0
region_request: log unknown region error for debugging
When regionErrorToLabel returns "unknown", log the full error content
along with the RPC context at INFO level. This helps identify new
error types that should be handled when "unknown" appears in metrics.
The log is placed in onRegionError (the caller) rather than
regionErrorToLabel to:
1. Keep regionErrorToLabel as a pure function without side effects
2. Include RPC context information for better debugging
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9dd1b8e commit 2ba47d0
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1926 | 1926 | | |
1927 | 1927 | | |
1928 | 1928 | | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
1929 | 1936 | | |
1930 | 1937 | | |
1931 | 1938 | | |
| |||
0 commit comments