Skip to content

Commit 131557f

Browse files
authored
Merge pull request #827 from julia-vscode/fix-io-error
Fix an IO error from crash reporting
2 parents cb2b48e + d545025 commit 131557f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/requests/init.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function has_too_many_files(path, N=5000)
6060
end
6161
end
6262
catch err
63-
isa(err, Base.IOError) || isa(err, Base.SystemError) || rethrow()
63+
isa(err, Base.IOError) || isa(err, Base.SystemError) || (VERSION >= v"1.3.0" && isa(err, Base.TaskFailedException) && isa(err.task.exception, Base.IOError)) || rethrow()
6464
return false
6565
end
6666

0 commit comments

Comments
 (0)