Skip to content

Commit b706c36

Browse files
committed
Debug commit
1 parent e90296f commit b706c36

File tree

1 file changed

+7
-0
lines changed
  • components/ide/jetbrains/launcher

1 file changed

+7
-0
lines changed

components/ide/jetbrains/launcher/main.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,13 @@ func serve(launchCtx *LaunchContext) {
298298
fmt.Fprint(w, jsonLink)
299299
})
300300
http.HandleFunc("/status", func(w http.ResponseWriter, r *http.Request) {
301+
test := func() bool {
302+
return true
303+
}
304+
if test() {
305+
http.Error(w, "test not ready", http.StatusServiceUnavailable)
306+
return
307+
}
301308
if launchCtx.preferToolbox {
302309
response := make(map[string]string)
303310
toolboxLink, err := resolveToolboxLink(launchCtx.wsInfo)

0 commit comments

Comments
 (0)