wbcore 1.59.14__py2.py3-none-any.whl → 1.59.16__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,7 +71,7 @@ class NotificationBackend(AbstractNotificationBackend):
71
71
  )
72
72
  try:
73
73
  messaging.send(message, False, app)
74
- except (messaging.UnregisteredError, messaging.QuotaExceededError):
74
+ except (messaging.UnregisteredError, messaging.QuotaExceededError, messaging.ThirdPartyAuthError):
75
75
  expired_tokens.append(token)
76
76
  except InvalidArgumentError: # this happens if the body is too big for the mobile push
77
77
  pass
@@ -92,7 +92,7 @@ class NotificationBackend(AbstractNotificationBackend):
92
92
  )
93
93
  try:
94
94
  messaging.send(message, False, app)
95
- except (messaging.UnregisteredError, messaging.QuotaExceededError):
95
+ except (messaging.UnregisteredError, messaging.QuotaExceededError, messaging.ThirdPartyAuthError):
96
96
  expired_tokens.append(token)
97
97
 
98
98
  for expired_token in expired_tokens:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbcore
3
- Version: 1.59.14
3
+ Version: 1.59.16
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  Requires-Dist: celery[redis]==5.*
6
6
  Requires-Dist: croniter==2.*
@@ -740,7 +740,7 @@ wbcore/contrib/notifications/backends/abstract_backend.py,sha256=gdCQn3YRoTGOy19
740
740
  wbcore/contrib/notifications/backends/console/__init__.py,sha256=vgrN2iIcVZfFSRJ2A5ltDQYOCK0DCAkt79JU4ZSfwTQ,42
741
741
  wbcore/contrib/notifications/backends/console/backends.py,sha256=3oCasfFwlSvW6KMFWgI6mTTwTS8e60Xi8Kb831hp4tk,765
742
742
  wbcore/contrib/notifications/backends/firebase/__init__.py,sha256=vgrN2iIcVZfFSRJ2A5ltDQYOCK0DCAkt79JU4ZSfwTQ,42
743
- wbcore/contrib/notifications/backends/firebase/backends.py,sha256=9vKesj_iupmDCgPLnayfE0gW0Rl7xyoUVZBhyN2hB2k,4336
743
+ wbcore/contrib/notifications/backends/firebase/backends.py,sha256=cPV_V0ikgMP30JtRTB7ZYf1Bv__3KZcOqOrqhyRfinc,4398
744
744
  wbcore/contrib/notifications/factories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
745
745
  wbcore/contrib/notifications/factories/notification_types.py,sha256=s2R4M6FSeIt36E8Zc6Zg9KFUS3Kg1r6G5uEzy2IbhMM,706
746
746
  wbcore/contrib/notifications/factories/notifications.py,sha256=QOO0Wp0x2Ij3YZQS6LlWMawbWtiy8yfUBk8vK6NWGok,547
@@ -1238,6 +1238,6 @@ wbcore/viewsets/generics.py,sha256=lKDq9UY_Tyc56u1bqaIEvHGgoaXwXxpZ1c3fLVteptI,1
1238
1238
  wbcore/viewsets/mixins.py,sha256=IdHd_uixOv3ExKoHxTgL5Bt8OELIwfYwhBZm0nsvZfc,12054
1239
1239
  wbcore/viewsets/utils.py,sha256=4520Ij3ASM8lOa8QZkCqbBfOexVRiZu688eW-PGqMOA,882
1240
1240
  wbcore/viewsets/viewsets.py,sha256=FPPESunEjlunDr5VFsjTfsquTS3iDSQkw0H6QjMKPqk,6574
1241
- wbcore-1.59.14.dist-info/METADATA,sha256=TiTbuASllTZhi0LXNXfDDZCxJxj1ebOC3EOYvyEzWY0,2317
1242
- wbcore-1.59.14.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
1243
- wbcore-1.59.14.dist-info/RECORD,,
1241
+ wbcore-1.59.16.dist-info/METADATA,sha256=lN_p7n08SYMMQ2SJGEc76Rz_AJOzb6yaOKZdvg1f8OY,2317
1242
+ wbcore-1.59.16.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
1243
+ wbcore-1.59.16.dist-info/RECORD,,