mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
feat: update module initialization and starting logic to continue on failure
This commit is contained in:
1 parent
7bf6d486c3
commit
49f737ec2f
1 file changed
+2
-2
@@ -24,7 +24,7 @@ bool ModuleManager::init_all() {
|
||||
|
||||
if (!module->init()) {
|
||||
PLOGE << "Failed to init module: " << module->name();
|
||||
return false;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ bool ModuleManager::start_all() {
|
||||
|
||||
if (!module->start()) {
|
||||
PLOGE << "Failed to start module: " << module->name();
|
||||
return false;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user