Issue #77 Break cyclic dependency statusmessage <-> jsonexception

This commit is contained in:
Mat Sutcliffe
2020-08-27 13:20:34 +01:00
parent 9e0ebef5a1
commit 89659fdeaa
14 changed files with 30 additions and 40 deletions

View File

@@ -287,7 +287,7 @@ namespace BlackMisc
}
catch (const CJsonException &ex)
{
return ex.toStatusMessage(categories, prefix);
return CStatusMessage::fromJsonException(ex, categories, prefix);
}
return {};
}
@@ -355,7 +355,7 @@ namespace BlackMisc
}
catch (const CJsonException &ex)
{
return ex.toStatusMessage(categories, prefix);
return CStatusMessage::fromJsonException(ex, categories, prefix);
}
return {};
}