Skip to content
Snippets Groups Projects
Commit 92fcdcd7 authored by Daniel Stonier's avatar Daniel Stonier
Browse files

Merge pull request #2 from peci1/more-descriptive-error

Added a more descriptive and helpful error message
parents 2301d2e8 3df4b090
Branches
Tags
No related merge requests found
......@@ -149,7 +149,7 @@ def create(msg_pkg_name, output_dir):
os.makedirs(genjava_gradle_dir)
msg_package_index = create_msg_package_index()
if msg_pkg_name not in msg_package_index.keys():
raise IOError("could not find %s on the ros package path" % msg_pkg_name)
raise IOError("could not find %s among message packages. Does the that package have a <build_depend> on message_generation in its package.xml?" % msg_pkg_name)
msg_dependencies = create_dependency_string(msg_pkg_name, msg_package_index)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment