diff options
author | louiz’ <louiz@louiz.org> | 2018-04-13 23:37:46 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-04-13 23:37:46 +0200 |
commit | d375a9edeb7a2aa21497a2cbc1db0d3f703283a6 (patch) | |
tree | cc6e7dd43e6742eab6d32962b14914f230bec055 /src/database | |
parent | e4f111accb8395dc8caf1dda92b8d903d3d78151 (diff) | |
download | biboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.tar.gz biboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.tar.bz2 biboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.tar.xz biboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.zip |
one log_debug -> log_error, also some trivial indent
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/postgresql_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/postgresql_engine.cpp b/src/database/postgresql_engine.cpp index abeb779..d97f2ff 100644 --- a/src/database/postgresql_engine.cpp +++ b/src/database/postgresql_engine.cpp @@ -128,7 +128,7 @@ void PostgresqlEngine::init_session() { const auto res = this->raw_exec("SET SESSION TIME ZONE 'UTC'"); 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 { |