Update AsynchronousMetrics.cpp

This commit is contained in:
Vladimir Chebotarev 2021-07-30 20:03:57 +03:00 committed by GitHub
parent 3c3fbf9a53
commit b32c024571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1049,7 +1049,7 @@ void AsynchronousMetrics::update(std::chrono::system_clock::time_point update_ti
{
readText(temperature, *sensor_file);
}
catch(const ErrnoException & e)
catch (const ErrnoException & e)
{
LOG_DEBUG(&Poco::Logger::get("AsynchronousMetrics"), "Hardware monitor '{}', sensor '{}' exists but could not be read, error {}.", hwmon_name, sensor_name, e.getErrno());
}