| 131 | } |
| 132 | |
| 133 | void InfluxdbCommonWriter::ExceptionHandler(boost::exception_ptr exp) |
| 134 | { |
| 135 | Log(LogCritical, GetReflectionType()->GetName(), "Exception during InfluxDB operation: Verify that your backend is operational!"); |
| 136 | |
| 137 | Log(LogDebug, GetReflectionType()->GetName()) |
| 138 | << "Exception during InfluxDB operation: " << DiagnosticInformation(std::move(exp)); |
| 139 | |
| 140 | //TODO: Close the connection, if we keep it open. |
| 141 | } |
| 142 | |
| 143 | OptionalTlsStream InfluxdbCommonWriter::Connect() |
| 144 | { |