Skip to content

Commit 6a7fe98

Browse files
committed
ruff: Fix S110 try-except-pass detected, consider logging the exception.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 1cb7fdd commit 6a7fe98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zulip/integrations/zephyr/process_ccache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ try:
3030
template_data = template_data.replace(
3131
"--use-sessions", "--use-sessions --forward-mail-zephyrs"
3232
)
33-
except Exception:
33+
except FileNotFoundError:
3434
pass
3535
supervisor_path.write_text(template_data.replace("USERNAME", short_user))
3636

0 commit comments

Comments
 (0)