--- a/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java Sun Dec 22 23:55:07 2013 +0100
+++ b/java/sql-dk/src/info/globalcode/sql/dk/CLIStarter.java Mon Dec 23 00:14:29 2013 +0100
@@ -107,7 +107,7 @@
} else {
FormatterDefinition fd = configuration.getFormatter(options.getFormatterName());
if (fd == null) {
- throw new ConfigurationException("Formatter is not configured: " + options.getDatabaseName());
+ throw new ConfigurationException("Formatter is not configured: " + options.getFormatterName());
} else {
DatabaseConnection c = dd.connect();
Formatter f = fd.getInstance(new FormatterContext(options.getOutputStream()));