lib/pdk/module/convert.rb in pdk-1.6.0 vs lib/pdk/module/convert.rb in pdk-1.6.1
- old
+ new
@@ -92,9 +92,11 @@
update_manager.add_file(file_path, file_content)
end
end
end
end
+ rescue ArgumentError => e
+ raise PDK::CLI::ExitWithError, e
end
def update_manager
@update_manager ||= PDK::Module::UpdateManager.new
end