mirror of https://github.com/apache/nifi.git
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:
parent
9609dafc34
commit
5b69c97f41
|
@ -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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue