mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Formatting, messages
This commit is contained in:
committed by
Mathew Sutcliffe
parent
3c97d68430
commit
1aa8cfb1e8
@@ -24,7 +24,7 @@ namespace BlackCore
|
||||
{
|
||||
namespace Db
|
||||
{
|
||||
//! Read information about data from Database or shared file
|
||||
//! Read information about data from Database or shared files
|
||||
//! like when updated and number of entries.
|
||||
//! \see BlackMisc::Db::CDbInfo
|
||||
class BLACKCORE_EXPORT CInfoDataReader : public CDatabaseReader
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace BlackCore
|
||||
|
||||
//! Set marker for read failed
|
||||
//! \threadsafe
|
||||
//! \deprecated likely to be removed
|
||||
//! \deprecated 2017-09 likely to be removed, using m_urlReadLog in future
|
||||
void setMarkedAsFailed(bool failed);
|
||||
|
||||
//! Get the read log
|
||||
@@ -116,7 +116,7 @@ namespace BlackCore
|
||||
void logNetworkReplyReceived(QNetworkReply *reply);
|
||||
|
||||
//! Use this to log inconsistent data
|
||||
//! \remark here in a single place severity / format can be adjusted
|
||||
//! \remark here in a single function severity / format can be adjusted
|
||||
static void logInconsistentData(const BlackMisc::CStatusMessage &msg, const char *funcInfo = nullptr);
|
||||
|
||||
private:
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace BlackMisc
|
||||
|
||||
if (jsonResponse.isEmpty())
|
||||
{
|
||||
messages.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, "Empty JSON data"));
|
||||
messages.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, "Empty JSON data for published models"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user