fix(deploy-tab): await handleOpenSerial() in deploy success path for proper error handling

This commit is contained in:
a2nr 2026-07-05 17:53:45 +07:00
parent bb19523f65
commit a7c9d1c499
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@
deployState = 'success'; deployState = 'success';
deployMessage = 'Upload berhasil! LED Hijau.'; deployMessage = 'Upload berhasil! LED Hijau.';
handleOpenSerial(); await handleOpenSerial();
} catch (err: any) { } catch (err: any) {
deployState = 'error'; deployState = 'error';
errorMessage = err.message || 'Deploy gagal'; errorMessage = err.message || 'Deploy gagal';