px4events: add @skip-file tag

This commit is contained in:
Beat Küng
2022-09-22 09:42:39 -04:00
committed by Daniel Agar
parent 54c97db8b2
commit e8ac9b266b
3 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class SourceScanner(object):
print('Failed reading file: %s, skipping content.' % path)
pass
try:
return parser.Parse(contents)
return parser.Parse(contents, path)
except Exception as e:
print("Exception while parsing file {}".format(path))
raise