Git Product home page Git Product logo

ember-cli-airbrake's People

Contributors

balinterdi avatar bantic avatar ember-tomster avatar fsmanuel avatar jeffreyjurgajtis avatar jrhe avatar marcoow avatar mixonic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ember-cli-airbrake's Issues

issue with version 0.0.7

hi Guys,
We were using v0.0.7 in our project and stopped using it last year. I reenabled it by adding the airbrake object
ENV.airbrake = {
projectId: 'real_project_id',
projectKey: 'real_key'
};
However, I dont see any data being sent to airbrake - I confirmed by looking at the n/w traffic.
Issue seems to be that in following function in file airbrake.js
export function initialize(container) {
if (config.airbrake && !isSetup) {
isSetup = true;
if (Airbrake.setProject) {
setupAirbrake(container);
} else {
Airbrake.onload = function() {
setupAirbrake(container)
};
}
}
}

the onload event is never fired so setupAirbrake(container) is never called. Any ideas?

Only import vendor/airbrake-shim.js if ember-cli-airbrake is enabled

vendor/airbrake-shim.js is imported even if ember-cli-airbrake isn't configured. I have had a quick look into doing this but it seems that we cannot get access to the users environment configuration from index.js. One option would be moving it into the config which is passed to EmberApp in the brocfile as this is accessible on the app variable but this would change the API of the addon. ember-cli-defeatureify and ember-cli-browserystats use this approach.

Upgrade airbrake

Hi :)
Do you intend to continue maintenance of this package?
We should upgrade airbrake client and we can also move it to from bower to npm.

Release to npm

Hello,

Ha version including PR #29 has not yet been released to npm, could you please provide?

Thanks!

Overrides Embers RSVP onerror default

Ember provides a customised default for RSVP.onerror. We override this and so it removes a lot of the behaviour they have added. No idea if we need all of this but one problem which manifested itself is the catching of TransitionAborted errors which the ember version filters out.

https://github.com/emberjs/ember.js/blob/85550ca7f91883838953e736caa6ef51daabf255/packages/ember-runtime/lib/ext/rsvp.js#L53

Theoretically we don't actually need to override this as it defaults to Ember.onerror if defined and we define it.

Doesn't seem to work with Ember 1.13.x

I'm using this addon with Errbit and had to add rack-cors to get it working (it looks like it uses an old version of the Airbrake API? Version 0.3 instead of 0.5). Anyway, from there I can push errors using Airbrake.push('error'). No browser or Ember errors get pushed though. Raising an error using throw 'test' doesn't get pushed. Neither do Ember errors. The following being an example:

model: function() {
    return this.get('sessionUser.objectnothere').then(user => user.get('company'));
  },

which raises:

Error while processing route: ats.opportunities.show.all.index Cannot read property 'then' of undefined TypeError: Cannot read property 'then' of undefined
    at model...

This surely has to work with Ember 0.13.x. Am I doing something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.