Skip to content

Commit bb94590

Browse files
ranochaKristofferC
authored andcommitted
fix invalidations in logging (#46481)
(cherry picked from commit ce6e9ee)
1 parent 5d03fcd commit bb94590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/logging.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ function handle_message(logger::SimpleLogger, level::LogLevel, message, _module,
669669
end
670670
buf = IOBuffer()
671671
stream = logger.stream
672-
if !isopen(stream)
672+
if !(isopen(stream)::Bool)
673673
stream = stderr
674674
end
675675
iob = IOContext(buf, stream)

0 commit comments

Comments
 (0)