fallback for user agent in logError