diff --git a/pyerrors/input/openQCD.py b/pyerrors/input/openQCD.py index ebe7812f..5ac279b1 100644 --- a/pyerrors/input/openQCD.py +++ b/pyerrors/input/openQCD.py @@ -55,7 +55,7 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs): break if not ls: - raise Exception('Error, directory not found') + raise Exception(f"Error, directory '{path}' not found") if 'files' in kwargs: ls = kwargs.get('files') else: