Commit 585511c7 authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

FilesParser: raise exception to better identify buggy file

parent 87136c83
......@@ -159,7 +159,10 @@ class FilesParser:
self._per_core = True
for f in files:
self._parse_file(f)
try:
self._parse_file(f)
except Exception as e:
raise Exception(f"Error during parsing of file {f}: {repr(e)}")
if self.x_type == "cursor":
# We convert cursor to arithmetic intensity:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment