Archived
1
0
Fork 0
This commit is contained in:
wyapx 2023-06-03 02:12:42 +08:00 committed by GitHub
parent 0776167e3b
commit 190986cedd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ def load_modules():
modules = 'modules.' + fun_file
importlib.import_module(modules)
Logger.info(f'Succeeded loaded modules.{fun_file}!')
except BaseException:
except Exception:
tb = traceback.format_exc()
errmsg = f'Failed to load modules.{fun_file}: \n{tb}'
Logger.error(errmsg)