Skip to content

Commit 9a259bb

Browse files
Better handling of missing transport plugins (#1488) (#1515)
(cherry picked from commit 3c19b34) Signed-off-by: Alejandro Hernandez Cordero <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
1 parent f2df776 commit 9a259bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rviz_default_plugins/include/rviz_default_plugins/displays/image/image_transport_display.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ class ImageTransportDisplay : public rviz_common::_RosTopicDisplay
126126
setStatus(
127127
rviz_common::properties::StatusProperty::Error, "Topic",
128128
QString("Error subscribing: ") + e.what());
129+
} catch (image_transport::TransportLoadException & e) {
130+
setStatus(
131+
rviz_common::properties::StatusProperty::Error, "Topic",
132+
QString("Error subscribing: ") + e.what());
129133
}
130134
}
131135

0 commit comments

Comments
 (0)