Minor bugfix.

This commit is contained in:
Jonathan Bernard 2016-02-11 11:28:29 -06:00
parent 90a11569da
commit f51c57c7e2
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ Configuration:
def opts = new Docopt(DOC).withVersion("wdiwtlt v$VERSION").parse(args)
def exitErr = { msg ->
System.out.err.println("wdiwtlt: $msg")
System.err.println("wdiwtlt: $msg")
System.exit(1) }
// Look for a given CLI config file.

View File

@ -165,7 +165,7 @@ public class ORM {
if (sql.firstRow(query, params)) { return 0 }
else {
query = """INSERT INTO $linkTable ("$col1", "$col2") VALUES (?, ?)"""
logger.debug("Selecting association.\n\tSQL: {}\n\tPARAMS: {}",
logger.debug("Creating association.\n\tSQL: {}\n\tPARAMS: {}",
query, params)
return sql.execute(query, params) } } }