firebug error handling