We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36e558 commit 8cb7e5aCopy full SHA for 8cb7e5a
src/env/node/git/git.ts
@@ -1612,11 +1612,15 @@ export class Git {
1612
1613
if (ex != null) {
1614
Logger.error(
1615
- '',
1616
- `${getLoggableScopeBlockOverride('GIT')} ${command} ${GlyphChars.Dot} ${(ex.message || String(ex) || '')
1617
- .trim()
1618
- .replace(/fatal: /g, '')
1619
- .replace(/\r?\n|\r/g, ` ${GlyphChars.Dot} `)} [${duration}ms]${status}`,
+ undefined,
+ `${getLoggableScopeBlockOverride('GIT')} ${command} ${GlyphChars.Dot} ${
+ isCancellationError(ex)
+ ? 'cancelled'
+ : (ex.message || String(ex) || '')
1620
+ .trim()
1621
+ .replace(/fatal: /g, '')
1622
+ .replace(/\r?\n|\r/g, ` ${GlyphChars.Dot} `)
1623
+ } [${duration}ms]${status}`,
1624
);
1625
} else if (slow) {
1626
Logger.warn(
0 commit comments