Hello! I configured Sentry following the docs but it seems doesn’t send any data and throw this error:
My config:
import Vue from ‘vue’;
import Raven from ‘raven-js’;
import RavenVue from ‘raven-js/plugins/vue’;
…
// Initiate Sentry service
Raven
.config('https://{key}@sentry.io/{number}', {
environment: ENV,
whitelistUrls: [
/https?:\/\/((cdn|cloud)\.)?my-app\.com/,
],
debug: true,
})
.addPlugin(RavenVue, Vue)
.install();
new Vue({...});
I keep js files of app on https://cdn.my-app.com but app running on https://cloud.my-app.com. Maybe this causing the problem?
As I see it collects data error correctly but can’t post it to Sentry. Any help please?