diff options
| author | Amp Tell <ampleyfly@gmail.com> | 2025-06-17 18:28:54 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-08-01 14:05:57 +0300 |
| commit | b23b7004e53c16102a3d443472bf0ac6b94439c0 (patch) | |
| tree | 1e03eb41107c8a25f8f56990f456404e78e203d0 | |
| parent | a82c5450577227c7d93ad2ee54c4fddf59199045 (diff) | |
| download | meson-b23b7004e53c16102a3d443472bf0ac6b94439c0.tar.gz | |
wrap: Slightly improve error message on wrap get failure
| -rw-r--r-- | mesonbuild/wrap/wrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py index d99a61816..862fd996c 100644 --- a/mesonbuild/wrap/wrap.py +++ b/mesonbuild/wrap/wrap.py @@ -767,7 +767,7 @@ class Resolver: resp = urllib.request.urlopen(req, timeout=REQ_TIMEOUT) except OSError as e: mlog.log(str(e)) - raise WrapException(f'could not get {urlstring} is the internet available?') + raise WrapException(f'could not get {urlstring}; is the internet available?') with contextlib.closing(resp) as resp, tmpfile as tmpfile: try: dlsize = int(resp.info()['Content-Length']) |
