Skip to content

Commit

Permalink
raise argexception in _arg_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Apr 11, 2024
1 parent 845f746 commit 0c0e756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/roslaunch/src/roslaunch/xmlloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ def _arg_tag(self, tag, context, ros_config, verbose=True):

context.add_arg(name, value=value, default=default, doc=doc)

except substitution_args.ArgException as e:
raise XmlParseException(
except ArgException as e:
raise ArgException(
"arg '%s' is not defined. \n\nArg xml is %s"%(e, tag.toxml()))
except ResourceNotFound as e:
raise ResourceNotFound(
Expand Down

0 comments on commit 0c0e756

Please sign in to comment.