зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1822817 - Post: Log when Windows native notifications fail. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D173497
This commit is contained in:
Родитель
6751fa669e
Коммит
b34950be78
|
@ -994,6 +994,11 @@ ToastNotificationHandler::OnDismiss(
|
|||
HRESULT
|
||||
ToastNotificationHandler::OnFail(const ComPtr<IToastNotification>& notification,
|
||||
const ComPtr<IToastFailedEventArgs>& aArgs) {
|
||||
HRESULT err;
|
||||
aArgs->get_ErrorCode(&err);
|
||||
MOZ_LOG(sWASLog, LogLevel::Error,
|
||||
("Error creating notification, error: %ld", err));
|
||||
|
||||
SendFinished();
|
||||
mBackend->RemoveHandler(mName, this);
|
||||
return S_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче