We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec610c commit 4f755adCopy full SHA for 4f755ad
packages/browser/src/diagnose-sdk.ts
@@ -6,6 +6,8 @@ import { getCurrentScope } from '@sentry/core';
6
* Possible return values wrapped in a Promise:
7
* - `"no-client-active"` - There was no active client when the function was called. This possibly means that the SDK was not initialized yet.
8
* - `"sentry-unreachable"` - There was no active client when the function was called. This possibly means that the SDK was not initialized yet.
9
+ *
10
+ * If the function doesn't detect an issue it resolves to `undefined`.
11
*/
12
export async function diagnoseSdk(): Promise<'no-client-active' | 'sentry-unreachable' | void> {
13
const client = getCurrentScope().getClient();
0 commit comments