mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Issue #77 Break cyclic dependency statusmessage <-> jsonexception
This commit is contained in:
@@ -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 {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user