Catch XHR errors for event-based propagation