mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
urllib: fix error message
This commit is contained in:
parent
81da1f1ab2
commit
be0796ce14
@ -33,8 +33,8 @@ const (
|
||||
)
|
||||
|
||||
fn error_msg(message, val string) string {
|
||||
mut msg := 'net.url: $message'
|
||||
if val == '' { msg = '$msg ($val)' }
|
||||
mut msg := 'net.urllib: $message'
|
||||
if val != '' { msg = '$msg ($val)' }
|
||||
return msg
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user