Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

build: fixing bad crash when --this is used when not in a package #162

Merged
merged 1 commit into from
Mar 16, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions catkin_tools/verbs/catkin_build/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def main(opts):
# Determine the enclosing package
try:
this_package = find_enclosing_package()
except InvalidPackage:
pass
except (InvalidPackage, RuntimeError):
this_package = None

# Handle context-based package building
if opts.build_this:
Expand Down