summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-12-24 16:00:48 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-24 16:00:48 +0000
commitdce76b728c8d4ddb8c49389a0fde7f2d0749c197 (patch)
tree43c94ecc38291f986730d1fad165a913b5df7804 /infrastructure
parentc8c02d3659e476fdf48aa5c15770caed413debad (diff)
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.
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/buildenv-testmain-template.cpp6
1 files changed, 0 insertions, 6 deletions
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());