NIFI-2761 Fixed error message in bootstrap

This closes #1385

Signed-off-by: Andre F de Miranda <trixpan@users.noreply.github.com>
This commit is contained in:
Pierre Villard 2017-01-03 18:09:53 +01:00 committed by Andre F de Miranda
parent 9609dafc34
commit 5b69c97f41
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class BootstrapCodec {
try { try {
processRequest(cmd, args); processRequest(cmd, args);
} catch (final InvalidCommandException ice) { } catch (final InvalidCommandException ice) {
throw new IOException("Received invalid command from NiFi: " + line + " : " + ice.getMessage() == null ? "" : "Details: " + ice.toString()); throw new IOException("Received invalid command from NiFi: " + line + (ice.getMessage() == null ? "" : " - Details: " + ice.toString()));
} }
} }