补齐插件绑定与发布恢复错误正文
显示运行时插件项目路径设置失败 保留发布状态恢复的 Tauri 字符串错误
This commit is contained in:
+4
-3
@@ -395,9 +395,10 @@ export function GameDistributionPublishPanel({
|
||||
if (publicationRequestId !== publicationRequestRef.current) return;
|
||||
setPublicationState('unavailable');
|
||||
setPublicationMessage(
|
||||
recoveryError instanceof Error
|
||||
? recoveryError.message
|
||||
: '无法确认该项目的线上发布状态:未提供具体错误正文,请稍后重试',
|
||||
`无法确认该项目的线上发布状态:${visibleClientErrorMessage(
|
||||
recoveryError,
|
||||
'未提供具体错误正文',
|
||||
)},请稍后重试`,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -264,7 +264,11 @@ export function RuntimeConfigDialog({
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
void setAgcPluginProjectPath(projectPath ?? null).catch(() => undefined);
|
||||
void setAgcPluginProjectPath(projectPath ?? null).catch((error) => {
|
||||
setAgcPluginsStatus(
|
||||
`项目插件路径设置失败:${visibleClientErrorMessage(error)}`,
|
||||
);
|
||||
});
|
||||
}, [projectPath]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user