lib/uffizzi/services/compose_file_service.rb in uffizzi-cli-0.6.0 vs lib/uffizzi/services/compose_file_service.rb in uffizzi-cli-0.7.2
- old
+ new
@@ -27,9 +27,12 @@
path: dependency_file,
source: dependency_file,
content: Base64.encode64(dependency_file_data),
}
end
+ rescue Errno::ENOENT => e
+ dependency_path = e.message.split('- ').last
+ raise Uffizzi::Error.new("The config file #{dependency_path} does not exist")
end
def fetch_configs(configs_data)
return [] if configs_data.nil?