fix: -custom error message on creating backend

This commit is contained in:
jialin
2026-01-13 18:43:11 +08:00
parent 9c1011fbd8
commit 342d977fe4
2 changed files with 4 additions and 2 deletions
@@ -86,6 +86,8 @@ const ImportYAML: React.FC<ImportYAMLProps> = forwardRef(
return false;
}
setError('');
return content;
} catch (error) {
setError((error as Error).message);