aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/mesonlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py
index 07e30e2..e93b66f 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -1126,8 +1126,8 @@ def expand_arguments(args: T.Iterable[str]) -> T.Optional[T.List[str]]:
extended_args = f.read().split()
expended_args += extended_args
except Exception as e:
- print('Error expanding command line arguments, %s not found' % args_file)
- print(e)
+ mlog.error('Expanding command line arguments:', args_file, 'not found')
+ mlog.exception(e)
return None
return expended_args