Skip to content

Commit

Permalink
FIXED: Avoid message when assertion/1 is interrupted by abort
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Oct 9, 2024
1 parent 9f07b39 commit 09feb97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/debug.pl
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@
assertion_failed(Reason, G) :-
prolog:assertion_failed(Reason, G),
!.
assertion_failed(unwind(_), _) :-
!.
assertion_failed(Reason, _) :-
assertion_rethrow(Reason),
!,
Expand Down

0 comments on commit 09feb97

Please sign in to comment.