Skip to content

Commit ce6e9ee

Browse files
authored
fix invalidations in logging (#46481)
1 parent c491e79 commit ce6e9ee

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
@@ -672,7 +672,7 @@ function handle_message(logger::SimpleLogger, level::LogLevel, message, _module,
672672
end
673673
buf = IOBuffer()
674674
stream = logger.stream
675-
if !isopen(stream)
675+
if !(isopen(stream)::Bool)
676676
stream = stderr
677677
end
678678
iob = IOContext(buf, stream)

0 commit comments

Comments
 (0)