mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 04:47:26 +00:00
[Change] Framework-API 调整 Framework 在初始化失败后的行为;
[Change] Framework 在初始化失败后抛出异常中断构造;
This commit is contained in:
@ -50,6 +50,7 @@ public abstract class Framework extends Plugin {
|
||||
wrapper.setFailedException(e);
|
||||
wrapper.setPluginState(PluginState.FAILED);
|
||||
log.error("An exception occurred while initializing the framework", e);
|
||||
throw new IllegalStateException("An exception occurred while initializing the framework", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user