- Notifications
You must be signed in to change notification settings - Fork1.1k
Commitc12bba4
authored
fix(enterprise/cli): preserve actual error when getting provisioner key details (#20813)
Fixes#20781Previously, when `GetProvisionerKey()` failed, the actual error wasswallowed:```error: unable to get provisioner key details```Now the actual error is preserved using error wrapping, so users can seethe real cause (e.g., 404 Not Found, connection refused, invalid key,etc.):```error: unable to get provisioner key details: GET https://...: 404 Not Found```This makes it much easier to diagnose configuration issues.---*Generated by [mux](https://cmux.io)*1 parent158243d commitc12bba4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments
Comments
(0)