Added log gin of xhr on error calls