From 466704e75b09991868233cb55393eb43d1d3aeba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirit=20S=C3=A6lensminde?= Date: Wed, 22 May 2019 10:19:05 +0700 Subject: [PATCH] Fix for changes in libpqxx --- Cpp/fostgres/fostgres-control-error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }