Skip to content

Commit 2d566ae

Browse files
committed
test: add debugging information
1 parent 0fa1b5b commit 2d566ae

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/core/src/shared/ui/input.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ export async function promptUser({
130130
for (const d of disposables) {
131131
d.dispose() as void
132132
}
133-
inputBox.hide()
133+
try {
134+
inputBox.hide()
135+
} catch (e) {
136+
console.log(`Error hiding input box: %O`, e)
137+
console.log(`input box: %O`, inputBox)
138+
console.log(`typeof input box: %O`, typeof inputBox)
139+
throw e
140+
}
134141
}
135142
}

0 commit comments

Comments
 (0)