Skip to content

Commit

Permalink
Fixed a DeprecationWarning in exception printing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Koval committed Sep 13, 2015
1 parent f24a137 commit 0ad4618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prpy/planning/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def PlanWorkspacePath(self, robot, traj, timelimit=5.0,
# Otherwise we'll gracefully terminate.
else:
logger.warning('Terminated early at time %f < %f: %s',
t, traj.GetDuration(), e.message)
t, traj.GetDuration(), str(e))

# Return as much of the trajectory as we have solved.
SetTrajectoryTags(qtraj, {Tags.CONSTRAINED: True}, append=True)
Expand Down

0 comments on commit 0ad4618

Please sign in to comment.