Print errors thrown by event handlers