Skip to content

Commit ad40b43

Browse files
committed
fix(webpush): throw error after notification failure
Signed-off-by: 0xsysr3ll <[email protected]>
1 parent edc4352 commit ad40b43

File tree

1 file changed

+1
-0
lines changed
  • src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush

1 file changed

+1
-0
lines changed

src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ const UserWebPushSettings = () => {
172172
autoDismiss: true,
173173
appearance: 'error',
174174
});
175+
throw error;
175176
} finally {
176177
revalidateDevices();
177178
}

0 commit comments

Comments
 (0)