@@ -363,6 +363,8 @@ class NotificationView(View):
print('apns push fail')
print(res.reason)
return
+ except (ValueError, ArithmeticError):
+ return 'The program has a numeric format exception, one of the arithmetic exceptions'
except Exception as e:
print(repr(e))
return repr(e)