Skip to content

Commit 68267ec

Browse files
author
Andrew Turner
committed
Added error messaging to downloadingwtih csver
1 parent 5da1d15 commit 68267ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csver.rb

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def download_and_extract(id)
5353
system "curl #{url_xml} -o #{directory}#{id}.xml"
5454
rescue Zip::ZipError
5555
puts "Warning: Overlay #{id} was not valid"
56+
rescue Exception => e
57+
puts "Error: Problem downloading Overlay #{id} - #{e.message}"
5658
end
5759

5860
def directory

0 commit comments

Comments
 (0)