Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
11 lines
710 B
Plaintext
11 lines
710 B
Plaintext
/**
|
|
* A function to diagnose why the SDK might not be successfully sending data.
|
|
*
|
|
* Possible return values wrapped in a Promise:
|
|
* - `"no-client-active"` - There was no active client when the function was called. This possibly means that the SDK was not initialized yet.
|
|
* - `"sentry-unreachable"` - The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.
|
|
*
|
|
* If the function doesn't detect an issue it resolves to `undefined`.
|
|
*/
|
|
export declare function diagnoseSdkConnectivity(): Promise<'no-client-active' | 'sentry-unreachable' | 'no-dsn-configured' | void>;
|
|
//# sourceMappingURL=diagnose-sdk.d.ts.map |