From dce76b728c8d4ddb8c49389a0fde7f2d0749c197 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 24 Dec 2015 16:00:48 +0000 Subject: Remove duplicate printing of exception details on test errors. BoxException::what() now contains the full details of the exception, so we don't need to print the value returned by GetMessage() as well. --- infrastructure/buildenv-testmain-template.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'infrastructure') diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp index 81b82b1e..d946c25d 100644 --- a/infrastructure/buildenv-testmain-template.cpp +++ b/infrastructure/buildenv-testmain-template.cpp @@ -417,12 +417,6 @@ int main(int argc, char * const * argv) return returncode; } - catch(BoxException &e) - { - printf("FAILED: Exception caught: %s: %s\n", e.what(), - e.GetMessage().c_str()); - return 1; - } catch(std::exception &e) { printf("FAILED: Exception caught: %s\n", e.what()); -- cgit v1.2.3