Commit 1c02e38
committed
Handle JoinError in registry download task results
The unwrap() on the JoinResult from spawned download tasks would panic
if a task panicked or was cancelled. Now maps the JoinError to a proper
RegistryDownloadFailure error variant instead.1 parent e1e684a commit 1c02e38
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
0 commit comments