mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 21:48:49 -04:00
Added a new exception type for DVLAException.
The Notify team needs to investigate when a notification is marked as failed. We will process the whole file and mark the notifications with the appropriate status, if any are failed an exception is raised. The exception will trigger a cloud watch error for the team to investigate.
This commit is contained in:
3
app/exceptions.py
Normal file
3
app/exceptions.py
Normal file
@@ -0,0 +1,3 @@
|
||||
class DVLAException(Exception):
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
Reference in New Issue
Block a user