Skip to content

Commit ce8de24

Browse files
soft error on stdin reconnect failure
1 parent e829f45 commit ce8de24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/misc.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,11 @@ try
540540
catch
541541
rethrow()
542542
finally
543-
redirect_stdin(original_stdin)
543+
try
544+
redirect_stdin(original_stdin)
545+
catch ex
546+
@error "Could not redirect back to stdin" ex
547+
end
544548
end
545549

546550
# these tests are not in a test block so that they will compile separately

0 commit comments

Comments
 (0)