Comments (11)
Hey Ben, good catch, and thanks for the example app! I'm working on fixing this. In the meantime, does the gem operate normally if you add the secret token back as the exception message suggests?
from honeybadger-ruby.
Yeah, it works fine as long as I fix that.
from honeybadger-ruby.
This is fixed in eb5d593 which will be released in v2.0.
from honeybadger-ruby.
I having the same problem. What can I do to be able to see the backtrace as normally in development env without removing the Honeybadger gem? I'm not able to see the exception message, just the "Something went wrong" screen :(
Thanks
from honeybadger-ruby.
Upgrade to 1.13.2! I released a bugfix for this today. :)
from honeybadger-ruby.
Weird! I have upgraded to 1.13.2 but still doesn't work.
honeybadger (1.13.2)
json
I have made a little fix on my honeybadger initializer module, explicitly enabling it only when environment is not development, so now I'm able to check the backtrace for now. It looks like this:
if not Rails.env.development?
Honeybadger.configure do |config|
config.api_key = 'my_key'
end
end
Also in Gemfile it is only in production group
group :production do
gem 'honeybadger'
end
Thanks
from honeybadger-ruby.
Weird, the new gem should handle the session key issue. Can you post a gist with the exception/backtrace from your logs?
from honeybadger-ruby.
Well, it is not exactly the same exception, actually in my case, Honeybadger is swallowing all exception and the app only showing the Rails 500 error page.
This how my terminal looks like with honeybadger enabled:
Started GET "/cases" for 127.0.0.1 at 2014-05-22 16:19:45 -0600
Processing by CasesController#index as HTML
Completed 500 Internal Server Error in 24.2ms
The code generating the exception:
class CasesController < ApplicationController
layout 'application'
def index
Float(nil)
end
end
The exception message without honeybadger enabled should be:
TypeError in CasesController#index
can't convert nil into Float
And finally an screenshot of the famous error screen:
- Helmy
from honeybadger-ruby.
That's something that Honeybadger would normally catch. Can you email [email protected] with the information outlined here? http://docs.honeybadger.io/article/92-how-to-contact-support-about-gem-related-problems
You can skip the second item (curl command output). We'll do some digging on this -- sorry for the trouble!
from honeybadger-ruby.
I will, no problem.
Thanks,
Helmy
from honeybadger-ruby.
Great thanks!
from honeybadger-ruby.
Related Issues (20)
- `Honeybadger.notify` requires `error_message` to be specified when using a Hash HOT 4
- Documentation and source mismatch with Rails.error.record HOT 1
- `Honeybadger::Config#respond_to?` Always Returns true
- Help suppressing a certain error HOT 4
- Honeybadger CLI errors when the deploy command is called with any option HOT 3
- Minitest: Test Backend Notices Not Added to `Honeybadger::Backend::Test` HOT 9
- Invalid class_name param in documentation HOT 1
- Use nested context from objects where available
- Sidekiq 7.1.5 and later changes number of arguments for error handlers
- Add check-in configuration sync HOT 2
- Automate releases with Github Actions
- Flaky test in JRuby test matrix entry
- Allow check-ins to be made by slug as well as id. HOT 8
- Avoid bundling unnecessary dependencies in published gem HOT 3
- Exceptions raised in jobs from Solid Queue are not automatically reported HOT 10
- Sanitizer#filter_key? returns a warning for Numeric hash keys HOT 5
- ActiveJob premature reporting HOT 2
- ActiveJob rescued exceptions should not be reported HOT 2
- Honeybadger.context returns Honeybadger::Agent when passing a block
- good_job related exception at app startup HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honeybadger-ruby.