mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 18:48:00 +00:00
Attempt post instead of get for endpoint (#151374)
This commit is contained in:
parent
41317f9ca5
commit
711c34bdb6
|
@ -49,7 +49,7 @@ class WebAppInsightsAppender implements ITelemetryAppender {
|
|||
|
||||
// If we cannot access the endpoint this most likely means it's being blocked
|
||||
// and we should not attempt to send any telemetry.
|
||||
fetch(endpointUrl).catch(() => (this._aiClient = undefined));
|
||||
fetch(endpointUrl, { method: 'POST' }).catch(() => (this._aiClient = undefined));
|
||||
}).catch(err => {
|
||||
console.error(err);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue