mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
debt - ensure to include error in error message for extension (#204141)
This commit is contained in:
@@ -241,7 +241,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
try {
|
||||
listener.call(thisArgs, e);
|
||||
} catch (err) {
|
||||
errors.onUnexpectedExternalError(new Error(`[ExtensionListenerError] Extension '${extension.identifier.value}' FAILED to handle event`, { cause: err }));
|
||||
errors.onUnexpectedExternalError(new Error(`[ExtensionListenerError] Extension '${extension.identifier.value}' FAILED to handle event: ${err.toString()}`, { cause: err }));
|
||||
extHostTelemetry.onExtensionError(extension.identifier, err);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user