From 29c401e5fa3f47f38c0c30a5b496a4db8e9111ea Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Wed, 27 Mar 2019 20:47:17 +0300 Subject: [PATCH] selfcheck.py: show failures when exception occurred --- clever/src/selfcheck.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clever/src/selfcheck.py b/clever/src/selfcheck.py index 263db223..d53aa709 100755 --- a/clever/src/selfcheck.py +++ b/clever/src/selfcheck.py @@ -44,6 +44,8 @@ def check(name): for f in failures: rospy.logwarn('%s: %s', name, f) except Exception as e: + for f in failures: + rospy.logwarn('%s: %s', name, f) traceback.print_exc() rospy.logwarn('%s: exception occurred', name) return