Rename CBCProxyFatalException

We only actually use this when the data we're working with is in an
unexpected state, which is unrelated to the CBC Proxy. Using this
name also means we can re-use this exception in the next commits.

Note that we may still care if a broadcast message has expired, since
it's not expected that someone would send one in this condition.
This commit is contained in:
Ben Thorner
2021-04-19 14:54:15 +01:00
parent bcd1939179
commit b2398fcaf4
3 changed files with 17 additions and 24 deletions

View File

@@ -26,10 +26,6 @@ from app.utils import DATETIME_FORMAT, format_sequential_number
# the preceeding Alert message in the previous_provider_messages field
class CBCProxyFatalException(Exception):
pass
class CBCProxyRetryableException(Exception):
pass