X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcollection.cc;h=3f85d0fe9ea0394e2d1bd9ba1b86bfeec17b2311;hb=25efe3485198149616820ab4e52d2f18f0abe5a7;hp=1de74ade078e1704cb6b173391def267ec026b0e;hpb=72d630c2835020db3027fe7b185ad25e8a98aabc;p=m6w6%2Flibmemcached diff --git a/libtest/collection.cc b/libtest/collection.cc index 1de74ade..3f85d0fe 100644 --- a/libtest/collection.cc +++ b/libtest/collection.cc @@ -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; }