diff --git a/vlib/net/urllib/urllib.v b/vlib/net/urllib/urllib.v index e17da7d16e..d5b93eb5b0 100644 --- a/vlib/net/urllib/urllib.v +++ b/vlib/net/urllib/urllib.v @@ -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 }