Open
Description
We're having an issue with FastBoot since this plugin relies on jQuery to read the revision version.
I've supressed the error with a custom service like this:
import RavenService from 'ember-cli-sentry/services/raven';
import computed from 'ember-computed';
import $ from 'jquery';
export default RavenService.extend({
releaseMetaName: 'sentry:revision',
release: computed('releaseMetaName', {
get: function() {
if (typeof(FastBoot) === 'undefined') {
return $(`meta[name='${this.get('releaseMetaName')}']`).attr('content');
}
}
})
});
But this basically just means that fastboot errors will have no version. Anyone have ideas on a better way to handle this?
Metadata
Metadata
Assignees
Labels
No labels