Ok I was wrong about that, onRequestEnd is always getting ran since I
added it to the exception event.

What is happening is that on some exceptions (looks like everything
but a non-existent event so far) is that onRequestStart is getting run
twice.  I haven't figured out why yet.  But that is creating two
records in the new logging thing I'm working on, and leaving one of
them "unclosed" (it gets closed onRequestEnd) so it appeared that
onRequestEnd wasn't running.

Its all very puzzling. So to recap - I hit refresh in the browser
once, and it appears that onRequestStart gets run, then when the
request ends onRequestEnd gets run, followed immediately by
onRequestStart again.  Now the request is over, so I end up with a
logging record that gets left "open".

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to