Skip to content

Commit

Permalink
Add # pragma: no cover
Browse files Browse the repository at this point in the history
  • Loading branch information
przlada committed Oct 14, 2024
1 parent 4ec2e76 commit 9eef487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvicorn/supervisors/multiprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def keep_subprocess_alive(self) -> None:
if exitcode is not None and exitcode < 0:
try:
signal_name = signal.Signals(-exitcode).name
except ValueError:
except ValueError: # pragma: no cover
pass
logger.info(f"Child process [{process.pid}] died", extra={"exitcode": exitcode, "signal_name": signal_name})
process = Process(self.config, self.target, self.sockets)
Expand Down

0 comments on commit 9eef487

Please sign in to comment.