Skip to content

Commit 350c1c3

Browse files
authored
Fix an uncaught exception (#10629)
1 parent 64c1327 commit 350c1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1892,8 +1892,8 @@ export class DefaultClient implements Client {
18921892
return null;
18931893
}
18941894
};
1895-
const configs: SourceFileConfigurationItem[] | null | undefined = await this.callTaskWithTimeout(provideConfigurationAsync, configProviderTimeout, tokenSource);
18961895
try {
1896+
const configs: SourceFileConfigurationItem[] | null | undefined = await this.callTaskWithTimeout(provideConfigurationAsync, configProviderTimeout, tokenSource);
18971897
if (configs && configs.length > 0) {
18981898
this.sendCustomConfigurations(configs, provider.version);
18991899
}

0 commit comments

Comments
 (0)