[Fix]: Log HTTP err type in Git service classes (#8076)

This commit is contained in:
Rohit Malhotra
2025-04-24 17:41:36 -04:00
committed by GitHub
parent 90ece3f8e1
commit a47c6f3ed1

View File

@@ -111,7 +111,7 @@ class BaseGitService(ABC):
return UnknownException('Unknown error')
def handle_http_error(self, e: HTTPError) -> UnknownException:
logger.warning(f'HTTP error on {self.provider} API: {e}')
logger.warning(f'HTTP error on {self.provider} API: {type(e).__name__} : {e}')
return UnknownException('Unknown error')