lib/autoproj/cli/update.rb in autoproj-2.3.1 vs lib/autoproj/cli/update.rb in autoproj-2.4.0
- old
+ new
@@ -196,9 +196,11 @@
parallel: parallel,
retry_count: retry_count,
install_vcs_packages: (osdeps_options if osdeps),
auto_exclude: auto_exclude)
return source_packages, osdep_packages, nil
+ rescue ExcludedSelection => e
+ raise CLIInvalidSelection, e.message, e.backtrace
rescue PackageImportFailed => import_failure
if !keep_going
raise
end
return import_failure.source_packages, import_failure.osdep_packages, import_failure