Fix syntax error

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

View File

@ -1437,8 +1437,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;
}