Skip to content

Commit

Permalink
urls - more logging (#171505)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Jan 17, 2023
1 parent b38b90d commit b798a4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vs/platform/url/common/urlIpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ export class URLHandlerRouter implements IClientRouter<string> {
this.logService.trace(`URLHandlerRouter#routeCall(): found windowId query parameter with value "${windowId}"`, uri.toString(true));

const regex = new RegExp(`window:${windowId}`);
const connection = hub.connections.find(c => regex.test(c.ctx));
const connection = hub.connections.find(c => {
this.logService.trace('URLHandlerRouter#routeCall(): testing connection', c.ctx);

return regex.test(c.ctx);
});
if (connection) {
this.logService.trace('URLHandlerRouter#routeCall(): found a connection to route', uri.toString(true));

Expand Down

0 comments on commit b798a4c

Please sign in to comment.