From 5db146ef751507efd4f9556c9a0ab3bb5e88f7c5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Jan 2017 03:23:20 +0300 Subject: Make use of operator<<(ostream, exception) --- mod/database-module.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/database-module.cxx') diff --git a/mod/database-module.cxx b/mod/database-module.cxx index 8c701b1..6fd5025 100644 --- a/mod/database-module.cxx +++ b/mod/database-module.cxx @@ -41,7 +41,7 @@ namespace brep if (retry_-- > 0) { MODULE_DIAG; - l1 ([&]{trace << e.what () << "; " << retry_ + 1 << " retries left";}); + l1 ([&]{trace << e << "; " << retry_ + 1 << " retries left";}); throw retry (); } -- cgit v1.1