mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2024-10-26 08:55:23 +03:00
chore: Fix error handling in Plugin class
This commit is contained in:
parent
e7abd345ff
commit
8fa3b0be00
@ -179,9 +179,9 @@ export class Plugin {
|
||||
this.openWindow(data.url);
|
||||
cancel = true;
|
||||
} else {
|
||||
if (!data.running) {
|
||||
if (data.error) {
|
||||
dialog.close();
|
||||
await this.notifyError();
|
||||
await this.notifyError(data.error);
|
||||
cancel = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user