Adding User-Agent header to Exceptions