Loading ...
Sorry, an error occurred while loading the content.

Re: force exceptions to bubble?

Expand Messages
  • kingbenny99
    aha - I guess I was in some middleground area. I removed the logger module and now I ve got what I want. Thanks much!
    Message 1 of 5 , Oct 9, 2007
    • 0 Attachment
      aha - I guess I was in some middleground area. I removed the logger
      module and now I've got what I want. Thanks much!

      --- In ydn-javascript@yahoogroups.com, Adam Moore <adamoore@...> wrote:
      >
      > On Tue, Oct 09, 2007 at 12:27:14PM -0000, kingbenny99 wrote:
      > > yes, I realize that. I guess I just put the alert in to show that the
      > > script is being executed. It makes it hard for me as a developer to
      > > not be able to see that an exception happened. My question is how do
      > > I force yui's event handling code not to swallow up exceptions being
      > > thrown in my code. I guess I can add the logging module, but that's
      > > pretty weak compared with firebug.
      >
      > The reason I thought the alert was the problem was because YUI does not
      > normally swallow exceptions. Based upon your comment I can only guess
      > that you have the logger module included in the page but are not using
      > it. In this case, exceptions would be swallowed. This is a bug in
      > the library. If this is your problem, the fix is to remove the logger
      > or use it (in which case the exceptions are logged).
      >
      > -Adam
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.