Added more error handling and logic to ingest

This commit is contained in:
Jake Pullen
2024-08-10 17:11:57 +01:00
parent d25136fbb0
commit 24cc006ef5
3 changed files with 83 additions and 23 deletions
+5
View File
@@ -3,3 +3,8 @@ MISSING_ENV_VARS = 1
MISSING_CONFIG_FILE = 2
CORRUPTED_CONFIG_FILE = 3
UNAUTHORIZED_API_TOKEN = 4
REQUESTS_ERROR = 5
BAD_REQUEST = 6
FORBIDDEN = 7
NOT_FOUND = 8
CONFLICT = 9