Skip to content
Snippets Groups Projects
Commit 05a35495 authored by Tomas Stupka's avatar Tomas Stupka
Browse files

[GR-5696] Jline.console.UserInterruptException on package install.

PullRequest: fastr/1118
parents 19860151 920bf322
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,8 @@ public class JLineConsoleHandler extends ConsoleHandler {
console.getTerminal().init();
return console.readLine();
} catch (UserInterruptException e) {
throw e;
// interrupted by ctrl-c
return "";
} catch (Exception ex) {
throw new RuntimeException(ex);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment