diff --git a/misc_scripts/update_workflow_config.py b/misc_scripts/update_workflow_config.py index aa3110f..d6239ae 100755 --- a/misc_scripts/update_workflow_config.py +++ b/misc_scripts/update_workflow_config.py @@ -59,7 +59,9 @@ def search_file(search_key, old_verstring, new_verstring, filename): if search_key in line: templine = line.replace(old_verstring, new_verstring) if new_verstring not in templine: - raise RuntimeError(f'Old version "{old_verstring}" not in file') + raise RuntimeError( + f'Old version "{old_verstring}" not in "{line} in file "{filename}"' + ) output.append(templine) else: output.append(line)