mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 02:33:34 +08:00
px4events: add @skip-file tag
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user