improve error messages when attached modules fail on startup
fix to align local frappy branch wip with gerrit repo Change-Id: Iafbd8c5e4b67209046c252f2cafa69dcb6e2bbcb
This commit is contained in:
@@ -97,7 +97,7 @@ class SecNode:
|
||||
self.traceback_counter += 1
|
||||
self.errors.append(f'error initializing {modulename}: {e!r}')
|
||||
modobj._initfailed = True
|
||||
raise InitFailed('try to access erroneous module')
|
||||
raise InitFailed('try to access erroneous module') from e
|
||||
modobj._isinitialized = True
|
||||
self.log.debug('initialized module %r', modulename)
|
||||
return modobj
|
||||
|
||||
Reference in New Issue
Block a user