Adding user agent to reportError