Skip to content

Commit

Permalink
[dialogflow_task_executive] Fix bug; add error handling to around lau…
Browse files Browse the repository at this point in the history
…nch_args
  • Loading branch information
tkmtnt7000 authored and knorth55 committed Jun 9, 2022
1 parent 9b3cc5d commit af2f1c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dialogflow_task_executive/node_scripts/task_executive.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ def dialog_cb(self, msg):
launch_args = {}
for key, value in params.items():
launch_args[key.encode('utf-8')] = value.encode('utf-8')
except AttributeError as e:
rospy.logerr(e)
except ValueError:
rospy.logerr(
"Failed to parse parameters of action '{}'".format(msg.action))
Expand Down

0 comments on commit af2f1c2

Please sign in to comment.