Commit d1ebe43
committed
fix: improve error reporting when an agent can't be resolved
- uri handling tries to automatically resolve a workspace agent.
- right now an exception is raised if the agent is missing or there are multiple agents for a workspace.
- instead we provide a nice human-readable error notification1 parent a6ce4fb commit d1ebe43
File tree
1 file changed
+14
-2
lines changed- src/main/kotlin/com/coder/toolbox/util
1 file changed
+14
-2
lines changedLines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
127 | 139 | | |
128 | 140 | | |
129 | 141 | | |
| |||
265 | 277 | | |
266 | 278 | | |
267 | 279 | | |
268 | | - | |
| 280 | + | |
269 | 281 | | |
270 | 282 | | |
271 | 283 | | |
| |||
0 commit comments