From 6b82f1ec42222b7e757ed8b79d56f30aabae96e6 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 2 Oct 2016 11:49:18 -0400 Subject: improve Console not found error message --- stage2/Lib.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage2/Lib.scala') diff --git a/stage2/Lib.scala b/stage2/Lib.scala index 46fecf7..c18bf2e 100644 --- a/stage2/Lib.scala +++ b/stage2/Lib.scala @@ -201,7 +201,7 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{ def consoleOrFail(msg: String) = { Option(System.console).getOrElse( - throw new Exception(msg + ". java.io.Console == null. See https://github.com/cvogt/cbt/issues/236") + throw new Exception(msg + ". System.console() == null. See https://github.com/cvogt/cbt/issues/236") ) } -- cgit v1.2.3