mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
[Fix]: Log HTTP err type in Git service classes (#8076)
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user