- Notifications
You must be signed in to change notification settings - Fork1.1k
Commitd306a2d
authored
chore: log with %s on unexpected non-sdk err (#20570)
With `%w` it prints an address instead of the error, like `<op> <url>0xc001329370` instead of `<op> <url>: some error`, honestly idk why youeven can log with `%w` it seems like it makes no sense to use `%w`outside of `fmt.Errorf`.This is to help debugcoder/internal#1010.1 parent30d2fc8 commitd306a2d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1604 | 1604 | | |
1605 | 1605 | | |
1606 | 1606 | | |
1607 | | - | |
| 1607 | + | |
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
| |||
0 commit comments
Comments
(0)