Potential fix for pull request finding 'CodeQL / Empty except'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
parent
d5442136d9
commit
3dc54b8aa5
@@ -71,8 +71,8 @@ def get_installation_id() -> str:
|
||||
iid = str(uuid.uuid4())
|
||||
try:
|
||||
set_(_KEY, iid)
|
||||
except Exception:
|
||||
pass
|
||||
except Exception as e:
|
||||
logger.debug("Failed to persist installation_id (non-fatal): %s", e)
|
||||
return iid
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user