This script traps the error in the function call and reports it.
Works, stops onError in Firebug, not seen by fireclipse (no error propagated to console).