devcontainers / devcontainers/cli
thrown value in `inspectDockerImage` obfuscates the underlying issue
未关闭
bug
- 主要语言
- TypeScript
- 星标
- 3k
- 派生
- 457
- 平均合并
- 13 小时 17 分钟
- 30 天内合并 PR
- 6
描述
The thrown value here (`err` instead of `_err`) obfuscates any error from the pull in the final result. The real error will be higher up in the logs, but it might be more helpful (especially in the codespaces case) to throw the result of the 'pull'. Eg:
```
Error response from daemon: Get \"https://mcr.microsoft.com/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)\r\n`
```
https://github.com/devcontainers/cli/blob/efb3ffca505e252a58d8bf4d48da5ffe4becf0e2/src/spec-node/utils.ts#L237
贡献指南
评估
这个 Issue 还没有评估数据。