mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 00:41:35 -05:00
Check failure code on failure only.
We should check error code on failure only, because if we get an error code on pending code, we should still set the notification to pending status.
This commit is contained in:
@@ -20,6 +20,7 @@ firetext_responses = {
|
||||
}
|
||||
|
||||
firetext_codes = {
|
||||
# code '000' means 'No errors reported'
|
||||
'101': {'status': 'permanent-failure', 'reason': 'Unknown Subscriber'},
|
||||
'102': {'status': 'temporary-failure', 'reason': 'Absent Subscriber'},
|
||||
'103': {'status': 'temporary-failure', 'reason': 'Subscriber Busy'},
|
||||
|
||||
Reference in New Issue
Block a user