Update libtest.
[awesomized/libmemcached] / libtest / framework.cc
index 6cca8450abcbcffbc4a7672518acb96a668c0f0f..8bc6e65c234f0aff50f200c466c66b8a5b2d914e 100644 (file)
@@ -118,8 +118,7 @@ void Framework::exec()
 
     _total++;
 
-    try
-    {
+    try {
       switch ((*iter)->exec())
       {
       case TEST_FAILURE:
@@ -145,7 +144,7 @@ void Framework::exec()
     catch (libtest::disconnected& e)
     {
       _failed++;
-      stream::cerr(e.file(), e.line(), e.func()) << "Unhandled disconnection occurred: " << e.mesg();
+      Error << "Unhandled disconnection occurred:" << e.what();
       throw;
     }
     catch (...)