We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efd7b5d commit 120caabCopy full SHA for 120caab
test/e2e/models/CodeServer.ts
@@ -71,7 +71,11 @@ export class CodeServer {
71
// if it is, we're connected!
72
// if not, we may need to reload the page
73
// Make sure to trim whitespace too
74
- return host ? CODE_SERVER_ADDRESS.includes(host.trim()) : false
+ const isEditorConnected = host ? CODE_SERVER_ADDRESS.includes(host.trim()) : false
75
+ if (!isEditorConnected) {
76
+ console.warn(` Editor is not connected`)
77
+ }
78
+ return isEditorConnected
79
}
80
81
/**
0 commit comments