diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-10-02 11:49:18 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-10-02 11:49:18 -0400 |
commit | 6b82f1ec42222b7e757ed8b79d56f30aabae96e6 (patch) | |
tree | f1d787c0aa4538b43de6759ca87449a412ed9b18 /stage2 | |
parent | aa62f30a58250abc12b3ae9286a81ef9b7651a51 (diff) | |
download | cbt-6b82f1ec42222b7e757ed8b79d56f30aabae96e6.tar.gz cbt-6b82f1ec42222b7e757ed8b79d56f30aabae96e6.tar.bz2 cbt-6b82f1ec42222b7e757ed8b79d56f30aabae96e6.zip |
improve Console not found error message
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/Lib.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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") ) } |