Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

[FIX] Exception fixes for Artifact authentication (#310)

harini-venkataraman4d00d640015c
diff --git a/worker/src/unstract/worker/worker.py b/worker/src/unstract/worker/worker.py
index f4b63113a..70ef1c183 100644
--- a/worker/src/unstract/worker/worker.py
+++ b/worker/src/unstract/worker/worker.py
@@ -56,6 +56,14 @@ class UnstractWorker:
f"Exception occured while invoking docker client : {api_err}."
f"Authentication to artifact registry failed."
)
+ except OSError as os_err:
+ self.logger.error(
+ f"Exception in the file system used for authentication: {os_err}"
+ )
+ except Exception as exc:
+ self.logger.error(
+ f"Internal service error occured while authentication: {exc}"
+ )
self.image = self._get_image()