User feedback with raven-js and Ember

I have a raven services in my Ember app which look like exactly this file: https://github.com/damiencaselli/ember-cli-sentry/blob/aaf3f97a6e43b54dc3304a749f0b4ee0d7ac3440/addon/services/raven.js

And I added the Raven.showReportDialog() in this method after the Raven.captureException(...)

captureException(error) {
  if (this.get('isRavenUsable')) {
    Raven.captureException(...arguments);
    Raven.showReportDialog();
  } else {
    throw error;
  }
},

This is working and the dialog pop when we get a Sentry error but sometime get a Sentry event on sentry.io: RavenConfigError: Missing eventId

I figured we need to pass the eventId to the showReportDialog() method so I changed the code to:

captureException(error) {
  if (this.get('isRavenUsable')) {
   const eventId = Raven.captureException(...arguments);
   Raven.showReportDialog({eventId});
  } else {
    throw error;
  }
},

but the report dialog doesn’t show up anymore and these 2 errors are in the console:

GET https://sentry.io/api/embed/error-page/?eventId=%5Bobject%20Object%5D&dsn=mydsn%40sentry.io%2F223130 net::ERR_ABORTED

Refused to execute script from 'https://sentry.io/api/embed/error-page/?eventId=%5Bobject%20Object%5D&dsn=mydsn%40sentry.io%2F223130' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

Can someone help me there?

In case anyone stumble on this thread, I contacted Sentry support and they told me this error can be ignored (either in your app through ignoreErrors in raven config or by Inbound Filters)