vpm: fix 404 error message
parent
7815a5495c
commit
1c8d2c21b5
|
@ -449,7 +449,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.contains('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