Skip to content

Commit

Permalink
seal5/tools/inject_patches.py: add better warning
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Mar 5, 2025
1 parent ad39f5f commit 7ba1901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions seal5/tools/inject_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def find_site(path, key):
start_mark += line
if start_mark is None:
# fallback
logger.warning("Marker not found: {path}, {key}. Retrying without key...")
if key:
return find_site(path, None)
assert False, f"Marker not found: {path}, {key}"
Expand Down

0 comments on commit 7ba1901

Please sign in to comment.