fix aksk check bug
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled
Deploy GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
kevin
2025-11-28 14:42:49 +08:00
committed by lizhenyun01
parent 090a066e4a
commit 048ca60013

View File

@@ -979,7 +979,7 @@ def init_bos_client():
try:
client = BosClient(cfg)
client.list_buckets(max_keys=1)
client.list_buckets()
except BceServerError as e:
if e.status_code == 403:
raise Exception("BOS authentication failed: Invalid AK/SK") from e