mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
Handle errors from Dynamic Debug Configuration providers (#202622)
* Handle errors from Dynamic Debug Configuration providers If a Dynamic Configuration provider, via its method `provideDebugConfigurations`, returns `undefined` or throws an Error, the selector in the Debug Tab is left in a borked state instead of going back to the last selected item. This was initially reported in https://github.com/microsoft/vscode/issues/198798, whose fix handled some cases, but not all. This commit attempts to handle all the remaining cases. * Use logservice to report error * Fix build --------- Co-authored-by: Rob Lourens <roblourens@gmail.com>
This commit is contained in:
@@ -61,7 +61,8 @@ suite('debugConfigurationManager', () => {
|
||||
new TestExtensionService(),
|
||||
new TestHistoryService(),
|
||||
new UriIdentityService(fileService),
|
||||
new ContextKeyService(configurationService));
|
||||
new ContextKeyService(configurationService),
|
||||
new NullLogService());
|
||||
});
|
||||
|
||||
teardown(() => disposables.dispose());
|
||||
|
||||
Reference in New Issue
Block a user