Skip to content

Commit

Permalink
chore: handle Austin signal exit code (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
P403n1x87 authored Sep 10, 2023
1 parent 36871cc commit 8ab1361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion austin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def submit_sample(self, data: bytes) -> None:
def check_exit(self, rcode: int, stderr: Optional[str]) -> None:
"""Check Austin exit status."""
if rcode:
if rcode in (-15, 15):
if rcode in {-15, 15, 241}:
raise AustinTerminated()
raise AustinError(f"({rcode}) {stderr}")

Expand Down

0 comments on commit 8ab1361

Please sign in to comment.