feat(client): test mount from form

This commit is contained in:
Nicolas Meienberger
2025-09-03 21:16:44 +02:00
parent 0c0a3b8581
commit ca4bd4a619
5 changed files with 78 additions and 16 deletions

View File

@@ -19,6 +19,7 @@ const mount = async (config: BackendConfig, path: string) => {
return new Promise<void>((resolve, reject) => {
exec(cmd, (error, stdout, stderr) => {
console.log("Mount command executed:", { cmd, error, stdout, stderr });
if (error) {
console.error(`Error mounting NFS volume: ${stderr}`);
return reject(new Error(`Failed to mount NFS volume: ${stderr}`));