mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 08:42:21 -05:00
Update NotificationTechnicalFailureException
- Change the NotificationTechnicalFailureException so that it only inherits from Exception. - The notify_celery task should create the logging message on failure. - Fix unit tests - Remove named parameter when raising exception.
This commit is contained in:
@@ -4,8 +4,7 @@ class DVLAException(Exception):
|
||||
|
||||
|
||||
class NotificationTechnicalFailureException(Exception):
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
pass
|
||||
|
||||
|
||||
class ArchiveValidationError(Exception):
|
||||
|
||||
Reference in New Issue
Block a user