mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Issue #77 Break cyclic dependency statusmessage <-> jsonexception
This commit is contained in:
@@ -458,7 +458,7 @@ namespace BlackMisc
|
||||
}
|
||||
catch (const CJsonException &ex)
|
||||
{
|
||||
CStatusMessage message = ex.toStatusMessage(this, "Invalid parts packet");
|
||||
CStatusMessage message = CStatusMessage::fromJsonException(ex, this, "Invalid parts packet");
|
||||
message.setSeverity(CStatusMessage::SeverityDebug);
|
||||
CLogMessage::preformatted(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user