npm.io
0.0.7 • Published 11 years ago

ah-airbrake-plugin

Licence
Version
0.0.7
Deps
1
Vulns
0
Weekly
0
Stars
2
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

notes

  • be sure to enable the plugin within actionhero (config/api.js)
  • you will need to add the airbrake package (npm install airbrake --save) to your package.json

You can add a deployment drunt task to clear the previous deploy's errors:

grunt.registerTask('notifyAirbrakeDeploy','tell airbrake we deployed',function(message){
  var done = this.async()
  init(function(api){
    api.airbrake.configure();
    api.airbrake.client.trackDeployment(function(){
      done();
    })
  })
})