ruff: Fix S110 try
-except
-pass
detected, consider logging the exception.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
1cb7fdd5b3
commit
6a7fe98eef
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ try:
|
||||||
template_data = template_data.replace(
|
template_data = template_data.replace(
|
||||||
"--use-sessions", "--use-sessions --forward-mail-zephyrs"
|
"--use-sessions", "--use-sessions --forward-mail-zephyrs"
|
||||||
)
|
)
|
||||||
except Exception:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
supervisor_path.write_text(template_data.replace("USERNAME", short_user))
|
supervisor_path.write_text(template_data.replace("USERNAME", short_user))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue