Skip to content

Commit b495678

Browse files
committed
Include console output in error when unable screen scrape a prompt
1 parent d6e3a63 commit b495678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compilation/src/main/scala/scala/tools/nsc/HotSbtBenchmark.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class HotSbtBenchmark {
9595
var read : Int = -1
9696
while (true) {
9797
read = processOutputReader.read(buffer)
98-
if (read == -1) sys.error("EOF")
98+
if (read == -1) sys.error("EOF: " + output.toString)
9999
else {
100100
output.append(buffer, 0, read)
101101
if (output.toString.contains("\n> ")) {

0 commit comments

Comments
 (0)