Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -149,7 +149,7 @@ public Object readline(DynamicObject prompt, boolean addToHistory) {
value = getContext().getConsoleHolder().getReadline().readLine(RopeOperations.decodeUTF8(StringOperations.rope(prompt)));
break;
} catch (IOException e) {
throw new RaiseException(coreExceptions().ioError("readline", this));
throw new RaiseException(coreExceptions().ioError(e.getMessage(), this));
} finally {
getContext().getConsoleHolder().getReadline().getTerminal().setEchoEnabled(true);
}

0 comments on commit 79a6c48

Please sign in to comment.