Webroar does not provide better handling for the exceptions.
Reported by Hokam Singh Chauhan | February 10th, 2011 @ 06:23 PM
Hi,
Webroar does not provide the proper handling of incoming
exceptions. In webroar when an exception arrives, webroar checks
the exception with exception_message field into the database , if
exception already exist it just increment the occurence for the
exception otherwise it will create a new entry into the database.
But from my rails application (deployed on webroar) when i am
hiting the same url again and again from where the exception is
coming then webroar is creating a new entry into the exception
table. Each time webroar is creating a new entry into the database,
because the exception_message is different but the error is same
for all exception entries.
Comments and changes to this ticket
-
Hokam Singh Chauhan February 11th, 2011 @ 11:47 AM
Hi,
example :- how webroar is counting the same exception as different because of different object id in exception.Exception Class URL Occurrences Time undefined local variable or method `hello' for #<NewsController:0xb652a768> NameError news/index 1 09-Feb-2011 19:46:01 undefined local variable or method `hello' for #<NewsController:0xb65a2754> NameError news/index 1 09-Feb-2011 19:46:51 undefined local variable or method `hello' for #<NewsController:0xb68269a8> NameError news/index 1 09-Feb-2011 19:48:26 undefined local variable or method `hello' for #<NewsController:0xb675d3c8> NameError news/index 1 09-Feb-2011 19:48:26 -
Nikunj Limbaseeya March 31st, 2011 @ 12:40 PM
- State changed from new to open
-
Nikunj Limbaseeya March 31st, 2011 @ 12:41 PM
- Tag set to analyzer, exception
- State changed from open to resolved
Fixed duplicate exception creation issue by improving exception fetching query in MessageAnalyzer#process_exceptions.
For more derail please refer https://github.com/webroar/webroar/commit/316438690943916210eb
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
<strong>Source Code Location</strong>
Repository is at <a href="http://github.com/webroar/webroar" target="_blank">http://github.com/webroar/webroar</a>
<p>
Check out the development master:
git clone git://github.com/webroar/webroar.git
<p>
<strong>Creating a bug report</strong>
When creating a bug report, be sure to include as much relevant information as possible.
<p>
Security vulnerabilities should be reported via an email to security@webroar.in, do not use lighthouse for reporting security vulnerabilities. All content in lighthouse is publicly available as soon as it is posted.