Skip to content

Commit

Permalink
REPL shouldn't panic when it gets SIGINT
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jul 18, 2019
1 parent ac98bd8 commit c5d7efe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/deno_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ impl GetErrorKind for ReadlineError {
match self {
Io(err) => GetErrorKind::kind(err),
Eof => ErrorKind::UnexpectedEof,
Interrupted => ErrorKind::Interrupted,
#[cfg(unix)]
Errno(err) => err.kind(),
_ => unimplemented!(),
Expand Down

0 comments on commit c5d7efe

Please sign in to comment.