1
0
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:
joe-conigliaro 2019-08-02 14:00:34 +10:00 committed by Alexander Medvednikov
parent 81da1f1ab2
commit be0796ce14

View File

@ -33,8 +33,8 @@ const (
) )
fn error_msg(message, val string) string { fn error_msg(message, val string) string {
mut msg := 'net.url: $message' mut msg := 'net.urllib: $message'
if val == '' { msg = '$msg ($val)' } if val != '' { msg = '$msg ($val)' }
return msg return msg
} }