Commit f0b0462
committed
fix(ui): show correct error on compat mode install failure
When compat install fails on an already-installed package, check
operation status first and return actual error instead of stale
dependency status message like "Earlier version installed".
兼容模式安装失败时,优先检查操作状态返回真实错误,
而非显示过时的依赖状态信息如"已安装较早的版本"。
Log: 修复兼容模式安装失败显示错误提示的问题
Influence: 兼容模式下安装失败的包现在会显示正确的失败原因,而非误导性的版本信息。1 parent 4c36fa3 commit f0b0462
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
899 | 907 | | |
900 | 908 | | |
901 | 909 | | |
| |||
0 commit comments