fix: DefaultModuleDeployer start fail, but export MetadataService(#12315) (#12316)

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
This commit is contained in:
AYue 2023-05-18 17:45:14 +08:00 committed by GitHub
parent 1511ca0991
commit 5fb15a130d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ public class DefaultModuleDeployer extends AbstractDeployer<ModuleModel> impleme
try {
setFailed(ex);
logger.error(CONFIG_FAILED_START_MODEL, "", "", "Model start failed: " + msg, ex);
applicationDeployer.notifyModuleChanged(moduleModel, DeployState.STARTED);
applicationDeployer.notifyModuleChanged(moduleModel, DeployState.FAILED);
} finally {
completeStartFuture(false);
}