Capture web errors.