Skip to content

Commit

Permalink
Don't log notification successes as warnings
Browse files Browse the repository at this point in the history
Signed-off-by: AJ Jordan <[email protected]>
  • Loading branch information
strugee authored Nov 21, 2023
1 parent f3663bb commit 5c7fb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/tray/notificationhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ bool ServerNotificationHandler::startFetchNotifications()
void ServerNotificationHandler::slotEtagResponseHeaderReceived(const QByteArray &value, int statusCode)
{
if (statusCode == successStatusCode) {
qCWarning(lcServerNotification) << "New Notification ETag Response Header received " << value;
qCInfo(lcServerNotification) << "New Notification ETag Response Header received " << value;
auto *account = qvariant_cast<AccountState *>(sender()->property(propertyAccountStateC));
account->setNotificationsEtagResponseHeader(value);
}
Expand All @@ -72,7 +72,7 @@ void ServerNotificationHandler::slotNotificationsReceived(const QJsonDocument &j
}

if (statusCode == notModifiedStatusCode) {
qCWarning(lcServerNotification) << "Status code " << statusCode << " Not Modified - No new notifications.";
qCInfo(lcServerNotification) << "Status code " << statusCode << " Not Modified - No new notifications.";
deleteLater();
emit jobFinished();
return;
Expand Down

0 comments on commit 5c7fb58

Please sign in to comment.