one log_debug -> log_error, also some trivial indent

This commit is contained in:
louiz’
2018-04-13 23:37:46 +02:00
parent e4f111accb
commit d375a9edeb
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ void PostgresqlEngine::init_session()
{ {
const auto res = this->raw_exec("SET SESSION TIME ZONE 'UTC'"); const auto res = this->raw_exec("SET SESSION TIME ZONE 'UTC'");
if (!std::get<bool>(res)) if (!std::get<bool>(res))
log_debug("Failed to set UTC timezone: ", std::get<std::string>(res)); log_error("Failed to set UTC timezone: ", std::get<std::string>(res));
} }
long double PostgresqlEngine::epoch_to_floating_value(long double seconds) const long double PostgresqlEngine::epoch_to_floating_value(long double seconds) const
{ {