mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-08 18:08:33 +00:00
@@ -84,8 +84,9 @@ export class UploadSketch extends SketchContribution {
|
|||||||
port: selectedPort.address,
|
port: selectedPort.address,
|
||||||
optimizeForDebug: this.editorMode.compileForDebug
|
optimizeForDebug: this.editorMode.compileForDebug
|
||||||
});
|
});
|
||||||
|
this.messageService.info('Done uploading.', { timeout: 1000 });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
await this.messageService.error(e.toString());
|
this.messageService.error(e.toString());
|
||||||
} finally {
|
} finally {
|
||||||
if (monitorConfig) {
|
if (monitorConfig) {
|
||||||
await this.monitorConnection.connect(monitorConfig);
|
await this.monitorConnection.connect(monitorConfig);
|
||||||
|
|||||||
@@ -71,8 +71,9 @@ export class VerifySketch extends SketchContribution {
|
|||||||
fqbn,
|
fqbn,
|
||||||
optimizeForDebug: this.editorMode.compileForDebug
|
optimizeForDebug: this.editorMode.compileForDebug
|
||||||
});
|
});
|
||||||
|
this.messageService.info('Done compiling.', { timeout: 1000 });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
await this.messageService.error(e.toString());
|
this.messageService.error(e.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user