chore: apply ty checks on api code with script and ci action (#24653)

This commit is contained in:
Bowen Liang 2025-09-02 16:05:13 +08:00 committed by GitHub
commit 7b379e2a61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 188 additions and 142 deletions

View file

@ -72,7 +72,7 @@ class TraceClient:
else:
logger.debug("AliyunTrace API check failed: Unexpected status code: %s", response.status_code)
return False
except requests.exceptions.RequestException as e:
except requests.RequestException as e:
logger.debug("AliyunTrace API check failed: %s", str(e))
raise ValueError(f"AliyunTrace API check failed: {str(e)}")