Skip to content

Commit 85a506a

Browse files
committed
Fix the try catch contents.
1 parent 4ce8da2 commit 85a506a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analemma.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function enso(; data::Bool=false, data0::Bool=false, kwargs...)
237237
try
238238
resp = Downloads.download("https://www.cpc.ncep.noaa.gov/data/indices/oni.ascii.txt")
239239
catch e
240-
error("Failed to download ENSO data from NOAA: $(e)")
240+
@warn("Failed to download ENSO data from NOAA: $(e)")
241241
return nothing
242242
end
243243
lines = readlines(resp)

0 commit comments

Comments
 (0)