This commit is contained in:
chatlanin 2024-07-19 10:42:39 +03:00
parent 7e0251c044
commit 454dfb6f86

View File

@ -114,7 +114,7 @@ namespace trs
ex.log();
auto r = PGXX().execute(var::LOGGER_DB, var::FUNC_LOGGER, ex.convert_to_json());
if (m_log_to_console)
hack::error()(r);
hack::error()(r, tr.m_data.m_result);
}
res.set_content(nlohmann::to_string(tr.m_data.m_result), var::HEADER_FLAG_JSON);