diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-05-26 21:21:17 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-06-01 21:50:05 -0400 |
commit | d0eeebbaa5aafa63d2d7c5c04378a89b95037179 (patch) | |
tree | 1fd0e0370ec42ce6c4eaf86f1e5c4447ddfe70b7 /stage2 | |
parent | ca412e26d70a6615153136019b7966acb9939446 (diff) | |
download | cbt-d0eeebbaa5aafa63d2d7c5c04378a89b95037179.tar.gz cbt-d0eeebbaa5aafa63d2d7c5c04378a89b95037179.tar.bz2 cbt-d0eeebbaa5aafa63d2d7c5c04378a89b95037179.zip |
Show more info on stderr when uploading files
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 acd62c8..2c85821 100644 --- a/stage2/Lib.scala +++ b/stage2/Lib.scala @@ -398,8 +398,8 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{ def upload(fileName: String, fileContents: Array[Byte], baseUrl: URL, credentials: String): Unit = { import java.net._ import java.io._ - logger.task("uploading "++fileName) val url = baseUrl ++ fileName + System.err.println(blue("uploading ") ++ url.toString) val httpCon = url.openConnection.asInstanceOf[HttpURLConnection] httpCon.setDoOutput(true) httpCon.setRequestMethod("PUT") |