Merge pull request #9315 from Icinga/bugfix/influxdb-log-message-2.13

InfluxdbCommonWriter#Flush(): fix log message
This commit is contained in:
Alexander Aleksandrovič Klimov 2022-04-06 13:38:44 +02:00 committed by GitHub
commit 4efd6b0f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,7 +455,7 @@ void InfluxdbCommonWriter::FlushWQ()
try {
stream = Connect();
} catch (const std::exception& ex) {
Log(LogWarning, "InfluxDbWriter")
Log(LogWarning, GetReflectionType()->GetName())
<< "Flush failed, cannot connect to InfluxDB: " << DiagnosticInformation(ex, false);
return;
}