Removed User-Agent string from reportError function