Skip to content

Commit

Permalink
Fix error debug message in download function (JuliaLang#31620)
Browse files Browse the repository at this point in the history
  • Loading branch information
musm authored and fredrikekre committed Apr 8, 2019
1 parent a0474d7 commit dd45fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/download.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function download_curl(curl_exe::AbstractString, url::AbstractString, filename::
process = run(pipeline(`$curl_exe -s -S -g -L -f -o $filename $url`, stderr=err), wait=false)
if !success(process)
error_msg = readline(err)
@error "Download Failed" error_msg
@error "Download failed: $error_msg"
pipeline_error(process)
end
return filename
Expand Down

0 comments on commit dd45fac

Please sign in to comment.