mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vpm: fix 404 error message
This commit is contained in:
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…
x
Reference in New Issue
Block a user