mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 05:38:12 +00:00
Potential fix for pull request finding 'Empty except'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
@@ -100,6 +100,8 @@ class TokenManager:
|
||||
try:
|
||||
storage_path.chmod(0o700)
|
||||
except OSError:
|
||||
# Best-effort permission hardening only: some platforms/filesystems
|
||||
# may reject chmod here, and token operations should still proceed.
|
||||
pass
|
||||
|
||||
return storage_path
|
||||
|
||||
Reference in New Issue
Block a user