Added SCH dependencies dump when using -vv or more

This commit is contained in:
SET 2020-08-14 19:33:38 -03:00
parent 09b7ed5eca
commit 422f8b134a
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ def load_sch():
try:
GS.sch.load(GS.sch_file)
GS.sch.load_libs(GS.sch_file)
if GS.debug_level > 1:
logger.debug('Schematic dependencies: '+str(GS.sch.get_files()))
except SchFileError as e:
trace_dump()
logger.error('At line {} of `{}`: {}'.format(e.line, e.file, e.msg))