Skip to content

Commit

Permalink
bug: fixing logging for table not existing
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Stevenson committed Sep 8, 2017
1 parent 8b2ced9 commit a737953
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class KuduWriter(client: KuduClient, setting: KuduSettings) extends StrictLoggin
//pre create tables
Try(DbHandler.createTables(setting, client)) match {
case Success(_) =>
case Failure(f) => logger.warn("Unable to create tables at startup! Tables will be created on delivery of the first record", f)
case Failure(f) => logger.warn("Unable to create tables at startup! Tables will be created on delivery of the first record", f.getMessage)
}
//cache tables
private lazy val kuduTablesCache = collection.mutable.Map(DbHandler.buildTableCache(setting, client).toSeq: _*)
Expand Down

0 comments on commit a737953

Please sign in to comment.