vpm: make the 404 in text error more precise (till https://vpm.vlang.io/ is fixed properly)
parent
7e27920cf7
commit
3362d7ecbb
|
@ -545,7 +545,7 @@ fn get_module_meta_info(name string) ?Mod {
|
||||||
errors << 'Error details: $err'
|
errors << 'Error details: $err'
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if r.status_code == 404 {
|
if r.status_code == 404 || r.text.trim_space() == '404' {
|
||||||
errors << 'Skipping module "$name", since $server_url reported that "$name" does not exist.'
|
errors << 'Skipping module "$name", since $server_url reported that "$name" does not exist.'
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue