feat: refs #8039 canceledError not notify #850

Merged
alexm merged 17 commits from 8039-canceledError_not_notify into dev 2024-10-24 12:44:19 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit cd00a3c67f - Show all commits

View File

@ -44,8 +44,9 @@ async function toggleNotification(notification) {
`worker.notificationsManager.${notification.active ? '' : 'un'}subscribed` `worker.notificationsManager.${notification.active ? '' : 'un'}subscribed`
), ),
}); });
} catch { } catch (e) {
notification.active = !notification.active; notification.active = !notification.active;
throw e;
} }
} }