Trap & save exceptions from ruby callbacks.