Skip to content

Commit 041a3d7

Browse files
author
Enrique Fernandez
committed
Fix logerr message with undefined arg
1 parent 7b006dd commit 041a3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bag_tools/scripts/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def __init__(self, bags, topics, plot_arrays=True, plot_headers=True, plot_forma
516516

517517
plt.close(fig)
518518
except OverflowError as e:
519-
rospy.logerr('%s: Failed to save plot as %s image file (try other format, e.g. svg): %s', filename, self._plot_format, e.message)
519+
rospy.logerr('Failed to save plot as %s image file (try other format, e.g. svg): %s', self._plot_format, e.message)
520520

521521
def get_plot_fields(self, topic_name):
522522
"""

0 commit comments

Comments
 (0)