mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-25 07:36:27 +00:00
🔧 修改服务加载时捕获的异常类
This commit is contained in:
parent
ad8a96ae8d
commit
f9b8048f1b
@ -92,7 +92,7 @@ class AppsManager:
|
||||
handlers_list = func(**kwargs)
|
||||
class_name = handlers_list.__class__.__name__
|
||||
ServiceDict.setdefault(class_name, handlers_list)
|
||||
except Exception as exc:
|
||||
except BaseException as exc:
|
||||
Log.error("初始化Service失败", exc)
|
||||
finally:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user