Skip to content

Commit 6470e74

Browse files
committed
Fix cyclone hash warning caused shutdown
1 parent 6f9ae4b commit 6470e74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rosbot_controller/launch/controller.launch.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ def check_if_log_is_fatal(event):
193193
red_color = "\033[91m"
194194
reset_color = "\033[0m"
195195
msg = event.text.decode().lower()
196-
if ("fatal" in msg or "failed" in msg) and "attempt" not in msg:
196+
if (
197+
"fatal" in msg or "failed" in msg and "cyclonedds" not in msg
198+
) and "attempt" not in msg:
197199
print(f"{red_color}Fatal error: {event.text}. Emitting shutdown...{reset_color}")
198200
return EmitEvent(event=Shutdown(reason="Spawner failed"))
199201

0 commit comments

Comments
 (0)