fix(deploy-tab): await handleOpenSerial() in deploy success path for proper error handling
This commit is contained in:
parent
bb19523f65
commit
a7c9d1c499
|
|
@ -152,7 +152,7 @@
|
|||
|
||||
deployState = 'success';
|
||||
deployMessage = 'Upload berhasil! LED Hijau.';
|
||||
handleOpenSerial();
|
||||
await handleOpenSerial();
|
||||
} catch (err: any) {
|
||||
deployState = 'error';
|
||||
errorMessage = err.message || 'Deploy gagal';
|
||||
|
|
|
|||
Loading…
Reference in New Issue