Skip to content

Commit

Permalink
Print filename when assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed May 22, 2024
1 parent 046a905 commit 3fc9aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cparser_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(self, name: str):

assert rizin_include_path
filename = os.path.abspath(os.path.join(rizin_include_path, *name_segments))
assert os.path.exists(filename)
assert os.path.exists(filename), f"File {filename} does not exist"
self.filename = filename

# Parse ht_inc.h if importing SDB hashtable header
Expand Down

0 comments on commit 3fc9aed

Please sign in to comment.