diff --git a/Cpp/fostgres/fostgres-control-error.cpp b/Cpp/fostgres/fostgres-control-error.cpp index caacefa..36669cc 100644 --- a/Cpp/fostgres/fostgres-control-error.cpp +++ b/Cpp/fostgres/fostgres-control-error.cpp @@ -40,7 +40,7 @@ namespace { } else { return execute(config[""], path, req, host); } - } catch (pqxx::pqxx_exception const &e) { + } catch (pqxx::failure const &e) { return execute(config[""], path, req, host); } }