Import/Merge of libtest latest.
[m6w6/libmemcached] / libtest / collection.cc
index 1de74ade078e1704cb6b173391def267ec026b0e..3f85d0fe9ea0394e2d1bd9ba1b86bfeec17b2311 100644 (file)
@@ -120,8 +120,7 @@ test_return_t Collection::exec()
       }
       catch (libtest::fatal &e)
       {
-        Error << "Fatal exception was thrown: " << e.what();
-        stream::cerr(__FILE__, __LINE__, __func__) << e.what();
+        stream::cerr(e.file(), e.line(), e.func()) << e.what();
         _failed++;
         throw;
       }