Log errors that occur in callbacks
Log errors that occur in callbacks

If an exception occurs in a callback, instead of leaving the exception
set in the JS context (which often result in the exception
disappearing off into the ether), log and clear it.

https://bugzilla.gnome.org/show_bug.cgi?id=618200

mtwebster/cjs,endlessm/gjs,mtwebster/cjs,joeshaw/gjs,endlessm/gjs,pixunil/cjs,mtwebster/cjs,djdeath/gjs,mtwebster/cjs,magcius/gjs,pixunil/cjs,pixunil/cjs,joeshaw/gjs,joeshaw/gjs,magcius/gjs,djdeath/gjs,pixunil/cjs,endlessm/gjs,magcius/gjs,djdeath/gjs,joeshaw/gjs,joeshaw/gjs,magcius/gjs,djdeath/gjs,endlessm/gjs,djdeath/gjs,endlessm/gjs,pixunil/cjs,magcius/gjs,mtwebster/cjs