Fix syntax error

This commit is contained in:
Daniel Marjamäki 2022-07-07 19:45:47 +02:00
parent e1d3e6f72e
commit a71a647c39
1 changed files with 2 additions and 2 deletions

View File

@ -1434,8 +1434,8 @@ void CppCheck::executeAddonsWholeProgram(const std::map<std::string, std::size_t
try {
executeAddons(ctuInfoFiles);
catch (const InternalError& e) {
internalError("", "Internal error during whole program analysis: " + std::string(e.what()));
} catch (const InternalError& e) {
internalError("", "Internal error during whole program analysis: " + e.errorMessage);
mExitCode = 1;
}