Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Webroar does not provide better handling for the exceptions.

#22

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.

Reported by Hokam Singh Chauhan · February 10th, 2011 @ 06:23 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Hokam Singh Chauhan
    Hokam Singh Chauhan

    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

    February 11th, 2011 @ 11:47 AM

  2. Nikunj Limbaseeya
    Nikunj Limbaseeya
    • State changed from new to open

    March 31st, 2011 @ 12:40 PM

  3. Nikunj Limbaseeya
    Nikunj Limbaseeya
    • 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

    March 31st, 2011 @ 12:41 PM

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.