Skip to content

Commit 0ceeb19

Browse files
committed
Add connection failure error
1 parent bf8dd24 commit 0ceeb19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/widget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export class NaoRobotModel extends DOMWidgetModel {
6969

7070
// Handle connection failure
7171
if (!this.qiSession.isConnected()) {
72+
console.error("Connection to ", ipAddress, " could not be established.");
7273
this.changeStatus('Unavailable');
7374
}
7475
}

0 commit comments

Comments
 (0)