Support sending notifications in batch. (#27)
This commit is contained in:
committed by
Sergey Petrov
parent
1262d6c2bd
commit
701b587c32
@@ -129,6 +129,10 @@ class MissingTopic(BadPayloadException):
|
||||
pass
|
||||
|
||||
|
||||
class ConnectionFailed(APNsException):
|
||||
"""There was an error connecting to APNs."""
|
||||
|
||||
|
||||
def exception_class_for_reason(reason):
|
||||
return {
|
||||
'PayloadEmpty': PayloadEmpty,
|
||||
|
||||
Reference in New Issue
Block a user