diff --git a/src/Linkifier.ts b/src/Linkifier.ts index 5398d3c59..769f3a502 100644 --- a/src/Linkifier.ts +++ b/src/Linkifier.ts @@ -212,11 +212,7 @@ export class Linkifier implements ILinkifier { if (!uri) { // something matched but does not comply with the given matchIndex // since this is most likely a bug the regex itself we simply do nothing here - // DEBUG: print match and throw - if ((this._terminal).debug) { - this._logService.error({ match, matcher }); - throw new Error('match found without corresponding matchIndex'); - } + this._logService.debug('match found without corresponding matchIndex', match, matcher); break; }