mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-08 20:06:32 +00:00
toast compile/verify
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
42d2285fa8
commit
deea43008d
@ -84,8 +84,9 @@ export class UploadSketch extends SketchContribution {
|
||||
port: selectedPort.address,
|
||||
optimizeForDebug: this.editorMode.compileForDebug
|
||||
});
|
||||
this.messageService.info('Done uploading.', { timeout: 1000 });
|
||||
} catch (e) {
|
||||
await this.messageService.error(e.toString());
|
||||
this.messageService.error(e.toString());
|
||||
} finally {
|
||||
if (monitorConfig) {
|
||||
await this.monitorConnection.connect(monitorConfig);
|
||||
|
@ -71,8 +71,9 @@ export class VerifySketch extends SketchContribution {
|
||||
fqbn,
|
||||
optimizeForDebug: this.editorMode.compileForDebug
|
||||
});
|
||||
this.messageService.info('Done compiling.', { timeout: 1000 });
|
||||
} catch (e) {
|
||||
await this.messageService.error(e.toString());
|
||||
this.messageService.error(e.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user