From 1506a5def843e7437d427f727f9f52dc6b62ac73 Mon Sep 17 00:00:00 2001 From: Douglas R Miles Date: Mon, 25 Dec 2023 01:08:06 -0800 Subject: [PATCH] fixed syntax error --- prolog/logicmoo_test.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prolog/logicmoo_test.pl b/prolog/logicmoo_test.pl index d0a3151..21070f0 100755 --- a/prolog/logicmoo_test.pl +++ b/prolog/logicmoo_test.pl @@ -1012,7 +1012,7 @@ (( Type \== silent, Type \== debug, Type \== informational, current_prolog_flag(logicmoo_message_hook,Was),Was\==none,Was\==false)), - setup_call_cleanup(create_prolog_flag(logicmoo_message_hook,none,[type(term),keep(false)])), + setup_call_cleanup(create_prolog_flag(logicmoo_message_hook,none,[type(term),keep(false)]), once(catch(message_hook_handle(T,Type,Term),_,fail)), create_prolog_flag(logicmoo_message_hook,Was,[type(term),keep(false)])),!.