Skip to content

Commit a387052

Browse files
committed
Improve terminal link handler timeout log
Fixes microsoft#94011
1 parent 4cba23d commit a387052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/terminal/browser/terminalLinkHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export class TerminalLinkHandler extends DisposableStore {
244244
const wasHandled = await new Promise<boolean>(r => {
245245
const timeoutId = setTimeout(() => {
246246
canceled = true;
247-
this._logService.error('An extension intecepted a terminal link but did not return');
247+
this._logService.error(`An extension intecepted a terminal link but it timed out after ${TerminalLinkHandler.LINK_INTERCEPT_THRESHOLD} seconds`);
248248
r(false);
249249
}, TerminalLinkHandler.LINK_INTERCEPT_THRESHOLD);
250250
let canceled = false;

0 commit comments

Comments
 (0)