Bug 1865723 [Linux] Reduce noise from nsUserIdleServiceGTK r=dholbert

Differential Revision: https://phabricator.services.mozilla.com/D194182
This commit is contained in:
stransky 2023-11-22 07:13:28 +00:00
parent 823236155d
commit bc4be37a4b

View File

@ -197,8 +197,9 @@ class UserIdleServiceMutter : public UserIdleServiceImpl {
[this](GUniquePtr<GError>&& aError) {
mPollInProgress = false;
if (!IsCancelledGError(aError.get())) {
g_warning("Failed to call GetIdletime(): %s\n",
aError->message);
MOZ_LOG(
sIdleLog, LogLevel::Warning,
("Failed to call GetIdletime(): %s\n", aError->message));
mUserIdleServiceGTK->RejectAndTryNextServiceCallback();
}
});