diff --git a/Client.Core/Exceptions/InfluxException.cs b/Client.Core/Exceptions/InfluxException.cs index dcfe774db..b15bb6cf6 100644 --- a/Client.Core/Exceptions/InfluxException.cs +++ b/Client.Core/Exceptions/InfluxException.cs @@ -60,7 +60,7 @@ public HttpException(string message, int status, Exception exception = null) : b /// /// The response headers /// - public IEnumerable Headers; + public IEnumerable? Headers { get; private set; } public static HttpException Create(RestResponse requestResult, object body) {