Skip to content

Commit

Permalink
Fix type check in poll_fd() exception handler (#52377)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley authored Dec 7, 2023
1 parent 83abbcd commit fa69f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/FileWatching/src/FileWatching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ function poll_fd(s::Union{RawFD, Sys.iswindows() ? WindowsRawSocket : Union{}},
end
end
catch ex
ex isa EOFError() || rethrow()
ex isa EOFError || rethrow()
return FDEvent()
end
else
Expand Down

0 comments on commit fa69f9c

Please sign in to comment.