Capture and track your application's exceptions
Questions tagged [airbrake]
104 questions
1
vote
0 answers
Passing parameters to Airbrake
I am using the Airbrake gem v 4.3.8 and so far, it is working well and sending notifications and emails without issue. Here is how my code is set up:
begin
# Do something crazy
rescue TypeError => e
Airbrake.notify(e)
end
I do know that…

sclem72
- 466
- 6
- 16
1
vote
1 answer
Airbrake: Why I'm seeing ActionController::RoutingErrors in my dashboard
We're seeing errors in our airbrake log that are supposed to be ignored. We're running in Rails 3.2.16, airbrake version 4.1.0
According to docs, ActionController::RoutingError will be ignored, but it's showing up in our dashboard and sent to us by…

Mark Swardstrom
- 17,217
- 6
- 62
- 70
1
vote
1 answer
How to ignore_user_agent in Airbrake 5?
We are migrating to Airbrake 5 and I'm wondering how to replace the functionality of the ignore_user_agent configuration. I know we have to check in an add_filter block, but not sure what/where to check?
Does anyone have an example of replacing the…

Jeff Schuman
- 772
- 7
- 12
1
vote
2 answers
report $http error using airbrake in angular
I already configured airbrake to report error but it seems it doesn't report http errors. Hence I'm trying to connfigure it to do so. Here's my factory:
import AirbrakeClient from 'airbrake-js';
export let errorHttpInterceptor = ($q, CONSTANT) =>…

dejijaye
- 77
- 1
- 9
1
vote
1 answer
notify_airbrake throws error on custom classes
We use airbrake throughout our codebase which works great except for custom classes that do not inherit from a Rails hierarchy (i.e. ActiveRecord).
Some code:
class Offer
def counter(amount, qty=1)
begin
offers_response =…

dipole_moment
- 5,266
- 4
- 39
- 55
1
vote
1 answer
Rails app with Airbrake - 401 unauthroized
I am successfully using airbrake in my ruby on rails app with one exception.
On visiting a specific view, I am occasionally getting a 401 unauthorized error:
POST https://api.airbrake.io/api/v3/projects/0/notices?key= 401…

captainrad
- 3,760
- 16
- 41
- 74
1
vote
1 answer
Airbrake / errbit
I have migrated my website from heroku to railshoster.de. Now the errbit/airbrake is not working anymore. Variables have been set same as origin.
I've tried without the protocol ERRBIT_HOST=my_errbit_server.herokuapp.com and with it…

Jan
- 12,992
- 9
- 53
- 89
1
vote
1 answer
Ruby on Rails sidekiq with airbrake setup
What are correct steps to setup sidekiq to work with airbrake on ruby on rails application.
already did:
add gem 'airbrake' to gemfile
add gem 'airbrake' to gemfile
bundle install
rails generate airbrake --my_api_key
Create file sidekiq.rb with…

arthur-net
- 1,138
- 1
- 13
- 34
1
vote
1 answer
Automatic Airbrake errors with plain Ruby (no Rails or Sinatra)
Is there a way to integrate Airbrake with a pure Ruby project (not rails or sinatra) so that unanticipated errors get reported? I have it set up and I am able to catch errors by calling Airbrake.notify_or_ignore and passing in the exception, but I…

Haskel Ash
- 11
- 1
1
vote
2 answers
Prompt user to send app crash info to Airbrake
I am using airbrake to catch crash reports
As soon as the app crashes I can see the report on the dashboard, but there is no alert in my app to ask the user to "Send Error Report". How can I enable airbrake alerts to ask the user to send the report…

Bhavna
- 836
- 2
- 6
- 19
1
vote
1 answer
angular js inject user data to airbrake
Currenlty i'm developing app using angular js but still figuring out how to send user's data to airbrake. I'm using ng-token-auth to handle the authorization (ng-token-auth)
This is my factory
'use strict';
app.factory('$exceptionHandler',…

Ardian
- 155
- 2
- 11
1
vote
0 answers
errbit custom notification backtrace
I'm sending a custom notification to Errbit using Airbrake.notify method. I want to pass the backtrace, which is already formatted in proper errbit-ready way, for example:
[{"function"=>"getAttr",…

Jacka
- 2,270
- 4
- 27
- 34
1
vote
2 answers
Airbrake integration with Capistrano 3 with Rails 4 getting LoadError: cannot load such file -- airbrake/capistrano3
So, here is my Capfile
# Load DSL and Setup Up Stages
require 'capistrano/setup'
# Includes default deployment tasks
require 'capistrano/deploy'
# Includes tasks from other gems included in your Gemfile
#
# For documentation on these, see for…

content01
- 3,115
- 6
- 41
- 61
1
vote
1 answer
Ruby on Rails 2.3.8 - Airbrake Ignore by IP Address
I am using the Airbrake gem to report errors in my rails application.
Is it possible to not have reports sent if it has a certain IP address, I would like to ignore the following:
213.233.458.*
I have looked at the docs and noticed a method called…

Arthur
- 1,970
- 4
- 18
- 19
1
vote
1 answer
moving from exceptional to airbrake, any substitue for .context?
I am trying to move from exceptional to airbrake.io
as that is the recommendation from exceptional.
the one place I currently have a problem with is the before filter I have on my applcation_controller which has the following code:…

guy schaller
- 4,710
- 4
- 32
- 54