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 @@ -312,7 +312,7 @@ export default class SocketDaemon extends Daemon {
312
312
}
313
313
const serialPort = this . devicesList . getValue ( ) . serial . find ( p => p . Name === port ) ;
314
314
if ( ! serialPort ) {
315
- return this . serialMonitorOpened . error ( new Error ( `Can't find port ${ port } ` ) ) ;
315
+ return this . serialMonitorOpened . error ( new Error ( `Can't find board at ${ port } ` ) ) ;
316
316
}
317
317
this . appMessages
318
318
. pipe ( takeUntil ( this . serialMonitorOpened . pipe ( filter ( open => ! open ) ) ) )
@@ -321,7 +321,7 @@ export default class SocketDaemon extends Daemon {
321
321
this . serialMonitorOpened . next ( false ) ;
322
322
}
323
323
if ( message . Cmd === 'CloseFail' ) {
324
- this . serialMonitorOpened . error ( new Error ( `Failed to close serial ${ port } ` ) ) ;
324
+ this . serialMonitorOpened . error ( new Error ( `Failed to close serial monitor at ${ port } ` ) ) ;
325
325
}
326
326
} ) ;
327
327
this . socket . emit ( 'command' , `close ${ port } ` ) ;
You can’t perform that action at this time.
0 commit comments