HoptoadServer Plugin (automatically creates issues from exceptions in your app)
Added by Jan from Planio www.plan.io over 15 years ago
Hi everyone,
I just wanted to announce my plugin, which can be checked out at wiki page PluginHoptoadServer. From the page:
This plugin transforms your Redmine into a hub for Rails exception handling, similar to Hoptoad or Exceptional . An issue will be created or updated for every exception which is thrown in your live applications. This plugin acts as a server for the HoptoadNotifier which was written by the guys at Hoptoad.
Features¶
- Creates or updates an issue whenever an exception is thrown in your Rails application
- Includes backtrace, user session, request and environment
- Includes a link to the source file and line to see where the exception happened
- Allows backtrace filtering
- Adds a custom field to issues to count occurences of this exception (for better prioritizing)
- Adds a custom field to issues to sort/filter/group exceptions by (ruby) error class
Comments welcome!
Thanks,
Jan
Replies (14)
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Eric Davis over 15 years ago
I'm using this now, great job.
BTW: Some of the forks on Github have applied bugfixes that could be pulled into the master branch.
Thanks
Eric Davis
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Jan from Planio www.plan.io over 15 years ago
Hi Eric, thanks for your nice words! Did you get the latest version (Jul 5th)? I've integrated all those bug fixes and added a couple of new features like source links and occurences counter...
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Eric Davis over 15 years ago
Jan Schulz-Hofen wrote:
Hi Eric, thanks for your nice words! Did you get the latest version (Jul 5th)? I've integrated all those bug fixes and added a couple of new features like source links and occurences counter...
I'm running an older version that just has a basics (check my fork). One thing I'd like to see, is per-project access keys. I have an idea how to implement this, but I haven't had the time to sit down and code it yet.
Eric
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Jan from Planio www.plan.io over 15 years ago
Eric Davis wrote:
I'm running an older version that just has a basics (check my fork). One thing I'd like to see, is per-project access keys. I have an idea how to implement this, but I haven't had the time to sit down and code it yet.
Thank you very much, Eric. I've looked at your fork and already integrated your fixes/improvements in my latest version. Per-project keys are a good idea. Could be implemented with custom project fields. However, they would be visible to everyone on the projects front page. Not sure if this is good in all cases. Would be great if custom project fields had a switch that prevent them from being revealed on the front page.
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Erik Ordway over 15 years ago
will it work with sub url installs of redmine
host.name.com/redmine
as an example
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Dave Nolan over 15 years ago
Hi Jan,
This is great - I was just sitting down to create something similar!
Dave
suburi support for hoptoad_notifier - Added by Erik Ordway over 15 years ago
http://github.com/eriko/hoptoad_notifier/tree/master
This version of the plugin for your app supports reporting exceptions to suburi installs of Redmine.
ie http://rails.foo.com/redmine
by adding a config.suburi = 'appname'
to the hoptoad config
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Jan from Planio www.plan.io over 15 years ago
awesome, thanks erik!
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Erik Ordway over 15 years ago
It lacks anything like complete tests but it does work for me.
The changes are pretty minor.
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Thomas Eccard almost 15 years ago
I have never been able to properly setup Redmine to communicate with hoptoad notifier. Have people been running into issues?
I'm using latest Redmine + latest plugin and Hoptoad notifier v1.2.4.
I always get: Timeout while contacting the Hoptoad server. Any idea?
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Jan from Planio www.plan.io almost 15 years ago
Hi Thomas, are you running on SSL? In this case, you have to set secure
to true
in the config...
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Eric Davis almost 15 years ago
Jan:
I've just added a few features to my version of the redmine_hoptoad_server. I pulled in the Hoptoad v2 support from invalidusrname and added the ability to use per project API keys using custom data fields. I think per project keys are more secure since you won't have to enable the incoming mail API and you won't have to worry about users reporting bugs to the wrong projects.
Eric
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Jan from Planio www.plan.io almost 15 years ago
This is awesome, Eric. Thank you very much. Per project keys are a great addition. My only concern would be that they're yet another piece of information that should not be displayed on a project's home page. do you think #4298 would make it into the trunk if I implemented it?
RE: HoptoadServer Plugin (automatically creates issues from exceptions in your app) - Added by Eric Davis almost 15 years ago
Jan from www.plan.io wrote:
My only concern would be that they're yet another piece of information that should not be displayed on a project's home page. do you think #4298 would make it into the trunk if I implemented it?
It should be optional. On private projects showing the key is find, the developers will need it to configure their application.
(I linked #4298 to a few other issues, one of which is a patch I still need to review)
Eric Davis