MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / handleError

Method handleError

src/extension/analytics.ts:347–350  ·  view source on GitHub ↗
(e: unknown)

Source from the content-addressed store, hash-verified

345 }
346
347 private handleError(e: unknown) {
348 this.disableAnalyticsForSession = true;
349 this.logger.info(`Failed to send analytics, disabling for session: ${e}`);
350 }
351
352 private getDebuggerPreference(): string {
353 if (config.debugSdkLibraries && config.debugExternalPackageLibraries)

Callers 4

constructorMethod · 0.95
sendErrorMethod · 0.45
sendEventDataMethod · 0.45
createNcProcessMethod · 0.45

Calls 1

infoMethod · 0.65

Tested by

no test coverage detected