File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ export default class SocketDaemon extends Daemon {
310
310
}
311
311
const serialPort = this . devicesList . getValue ( ) . serial . find ( p => p . Name === port ) ;
312
312
if ( ! serialPort ) {
313
- return this . serialMonitorOpened . error ( new Error ( `Can't find port ${ port } ` ) ) ;
313
+ return this . serialMonitorOpened . error ( new Error ( `Can't find board at ${ port } ` ) ) ;
314
314
}
315
315
this . appMessages
316
316
. pipe ( takeUntil ( this . serialMonitorOpened . pipe ( filter ( open => ! open ) ) ) )
@@ -319,7 +319,7 @@ export default class SocketDaemon extends Daemon {
319
319
this . serialMonitorOpened . next ( false ) ;
320
320
}
321
321
if ( message . Cmd === 'CloseFail' ) {
322
- this . serialMonitorOpened . error ( new Error ( `Failed to close serial ${ port } ` ) ) ;
322
+ this . serialMonitorOpened . error ( new Error ( `Failed to close serial monitor at ${ port } ` ) ) ;
323
323
}
324
324
} ) ;
325
325
this . socket . emit ( 'command' , `close ${ port } ` ) ;
You can’t perform that action at this time.
0 commit comments