added userAgent info in the error collection