Skip to content

Commit a953ac3

Browse files
committed
Add tracing when version retreival fails
1 parent 4d34636 commit a953ac3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/client/activation/jedi/manager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import '../../common/extensions';
77
import { inject, injectable, named } from 'inversify';
88

99
import { ICommandManager } from '../../common/application/types';
10-
import { traceDecorators } from '../../common/logger';
10+
import { traceDecorators, traceVerbose } from '../../common/logger';
1111
import { IDisposable, Resource } from '../../common/types';
1212
import { debounceSync } from '../../common/utils/decorators';
1313
import { EXTENSION_ROOT_DIR } from '../../constants';
@@ -95,6 +95,7 @@ export class JediLanguageServerManager implements ILanguageServerManager {
9595
} catch (ex) {
9696
// Getting version here is best effort and does not affect how LS works and
9797
// failing to get version should not stop LS from working.
98+
traceVerbose('Failed to get jedi-language-server version: ', ex);
9899
}
99100

100101
await this.analysisOptions.initialize(resource, interpreter);

0 commit comments

Comments
 (0)