mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-10 06:31:49 +00:00
Print a more useful message when an std::exception is thrown whilst running a test.
This commit is contained in:
parent
62bf142f06
commit
78b3c14260
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ class TestUtils
|
|||
tests.runTest(&testInstance,i);
|
||||
}
|
||||
}
|
||||
catch (const std::exception& ex)
|
||||
{
|
||||
errorText = ex.what();
|
||||
}
|
||||
catch (const std::string& error)
|
||||
{
|
||||
errorText = error;
|
||||
|
|
Loading…
Reference in a new issue