Capture and track your application's exceptions
Questions tagged [airbrake]
104 questions
4
votes
3 answers
Service similar to Airbrake.io for java applications?
We made our own api for airbrake.io in java. This works fine but airbrake is displaying parameters and stacktraces in some kind of Rails style. This is somewhat annoying. Anyone know of similar services made for java?
Example of how data is…

Tommy
- 4,011
- 9
- 37
- 59
3
votes
0 answers
Private Airbrake source maps not loading correctly
I'm attempting to set up private source maps using Airbrake following the documentation at airbrake.io/docs/features/private-sourcemaps.
From https://airbrake.io/docs/features/private-sourcemaps/#pattern-matching-option:
airbrake sourcemaps create…

chipit24
- 6,509
- 7
- 47
- 67
3
votes
3 answers
Rails: Troubleshooting a Rack::Timeout::RequestTimeoutException
Getting some:
Rack::Timeout::RequestTimeoutException: Request waited {7ms}, then ran for longer than 15000ms
After upgrading Rails 4.2.9 app to Rails 5.2.1.1.
This is raised by the rack-timeout gem documented here.
That said, I'm having trouble…

Meltemi
- 37,979
- 50
- 195
- 293
3
votes
1 answer
Airbrake notifications disabled in Django tests?
I've configured a Django app called lucy_web to log errors to Airbrake using pybrake. In a module in the lucy_web hierarchy, lucy_web.lib.session_recommendations, I've defined a testing function:
import logging
logger =…

Kurt Peek
- 52,165
- 91
- 301
- 526
3
votes
1 answer
Can't drop into Python debugger in a function called asynchronously?
In order to debug an Airbrake issue described in Airbrake throwing error "pybrake - ERROR - strconv.ParseInt: parsing "None": invalid syntax", I'm trying to inspect requests prior to sending them to Airbrake by dropping into the iPython debugger…

Kurt Peek
- 52,165
- 91
- 301
- 526
3
votes
1 answer
How can I get airbrake out of my development and test environment?
I've been having major problems with the airbrake gem that is seriously impeding my work flow lately. As an example, I am working on some front end stuff with coffeescript. When I make an error like a typo or anything, I get this error message:
As…

Dan Rubio
- 4,709
- 10
- 49
- 106
3
votes
1 answer
Why can't RSpec find the Airbrake env keys in a test involving Sidekiq when I specify environment?
Here is my setup:
airbrake.rb
require 'airbrake'
Airbrake.configure do |c|
c.ignore_environments = [:test, :development]
c.project_id = ENV['PROJECT_ID']
c.project_key = ENV['PROJECT_KEY']
end
use…

Nona
- 5,302
- 7
- 41
- 79
3
votes
1 answer
Airbrake and Spree commerce API: undefined method `airbrake_request_data`
I use Airbrake to notify me about errors in my Spree Commerce shop. Now that I want to use the API of spree, I get the following error, when I try to post to http://localhost:3000/api/products to create a new product:
NoMethodError (undefined method…

23tux
- 14,104
- 15
- 88
- 187
3
votes
2 answers
Rails - NoMethodError
I am receiving NoMethodErrors when my DeltaSynWorker runs. This happens in an application that was built as a revision of a currently working application. I am not the original programmer, and I am coming at it from a Java background (I mention this…

s0dz
- 121
- 7
3
votes
0 answers
airbrake don't working by Rake task
ENV
Rails 3.2.13
ruby 1.9.3p392
airbrake 3.1.11
rake, version 10.0.4
my config file and rake task file
#lib/tasks/raise.rake
namespace :raise do
desc "raise sth"
task :sth => :environment do
num = 1 / 0 # should raise error
end
…

hpyhacking
- 285
- 3
- 14
3
votes
2 answers
How to add some extra parameter in the airbrake parameters for JS errors
When we are sending the airbrake error to the airbrake server, by default it includes the controller name and action name.
But the question is that I want to add some extra parameters like username, email of the current user. If anyone has any idea…

tripurari
- 71
- 7
3
votes
2 answers
airbrake notify_airbrake method not working in controller
In airbrake controller this code works (gives notification)
rescue => ex
Airbrake.notify
but
rescue => ex
notify_airbrake(ex)
end
Doesn't give a any airbrake notification.how to make
notify_airbrake(ex) to work

Anand Kumar
- 227
- 1
- 4
- 8
2
votes
0 answers
How to use Airbrake's pybrake Django integration?
I'm trying to apply the Django integration steps described for pybrake, a Python exception notifier for Airbrake. The Django project contains several apps, one of which is called lucy_web. In my setttings, I've defined the AIRBRAKE setting like…

Kurt Peek
- 52,165
- 91
- 301
- 526
2
votes
2 answers
How to find my Airbrake project ID and project key?
I'm trying to follow the steps described on https://airbrake.io/docs/installing-airbrake/installing-airbrake-in-a-python-app/#configuration to configure Airbrake for a Django project. In particular,
To configure pybrake you will need your Airbrake…

Kurt Peek
- 52,165
- 91
- 301
- 526
2
votes
1 answer
Setup Airbrake-js with a ReactJS app and webpack
I'm trying to integrate Airbrake-js into my dev setup to report on JavaScript errors. My app is a React app that uses webpack.
I've been scouring the web for a couple of hours now to figure out how the setup should be. I haven't been able to…

alengel
- 4,368
- 3
- 21
- 28