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.

Global dispatching of errors

#52

We need to add a global dispatch for errors. Some basic ideas are a debugging flag to determine if we should throw the error, a feature check for console/console.log that determines if we should log the error information, and pretty much making error reporting awesome so we can get good bug reports instead of assumptions as to what is or isn't working.

Reported by Mark Caudill · August 8th, 2009 @ 12:39 AM

State: new
Milestone: none
Assigned to: John-David Dalton John-David Dalton

Activity

  1. John-David Dalton
  2. Mark Caudill
    Mark Caudill
    • Assigned user changed from John-David Dalton to Mark Caudill

    August 9th, 2009 @ 04:46 PM

  3. Mark Caudill
    Mark Caudill
    • State changed from new to resolved

    Namespace Fuse.Exception part: https://github.com/jdalton/fusejs/commit/71e048722a4d412a0b93b86c6d...
    Querystring param part: http://github.com/jdalton/fusejs/commit/6d39ee6d5a1cc256932b70b83ba...

    Juriy brought up the great point of a customized "console" that can utilize console.log/console.info, opera.postError, and Jaxer's logger. I'm in favor of adding that to Fuse.Exception (e.g. Fuse.Exception.console) rather than Fuse.console. Are there any real benefits to having Fuse.console vs Fuse.Exception.console or will we be using "console" anywhere else? Does anyone have any requests beyond that functionality?

    August 10th, 2009 @ 06:20 PM

  4. Mark Caudill
    Mark Caudill
    • State changed from resolved to patched

    August 10th, 2009 @ 06:26 PM

  5. Mark Caudill
    Mark Caudill

    Here's what I came up with so far: https://gist.github.com/1bf764be412d5c956086

    Have a look over it and see if there is anything that should be changed.

    • Also, should this be Exception or Console for the namespace? Is that the idea Juriy's had purposed? E.g. Fuse.Console.error(...), Fuse.Console.log(...), Fuse.Console.info(...)

    August 12th, 2009 @ 04:36 PM

  6. John-David Dalton
  7. Joe Gornick
    Joe Gornick
    • Assigned user changed from Mark Caudill to John-David Dalton
    • Milestone order changed from 0 to 0

    September 29th, 2010 @ 09:46 AM

  8. Kit Goncharov
    Kit Goncharov
    • Tag changed from discuss, feature to feature

    March 14th, 2011 @ 10:29 PM

  9. Joe Gornick
    Joe Gornick
    • State changed from patched to new

    Removing patched state since commit doesn't exist in forked branch. Will review later.

    March 22nd, 2011 @ 09:27 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.