Minor bugfix.
This commit is contained in:
parent
90a11569da
commit
f51c57c7e2
@ -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.
|
||||
|
@ -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) } } }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user