Skip to content

Commit 9712ce2

Browse files
[GEMINI SUGGESTION] Update try-catch in automation/process_pr_submission.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 865f500 commit 9712ce2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

automation/process_pr_submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def normalize(name: Optional[str]) -> Optional[str]:
301301
return None
302302
try:
303303
return manager.get_universal_name(name)
304-
except Exception:
304+
except ValueError:
305305
return name
306306

307307
full_map: dict[str, dict[str, object]] = {}

0 commit comments

Comments
 (0)