HBASE-11749 Better error logging when coprocessors loading has failed (Srikanth Srungarapu)
This commit is contained in:
parent
a15b343fbf
commit
9db1f2cc37
|
@ -481,7 +481,7 @@ public abstract class CoprocessorHost<E extends CoprocessorEnvironment> {
|
|||
}
|
||||
|
||||
protected void abortServer(final String coprocessorName, final Throwable e) {
|
||||
String message = "The coprocessor " + coprocessorName + " threw an unexpected exception";
|
||||
String message = "The coprocessor " + coprocessorName + " threw " + e.toString();
|
||||
LOG.error(message, e);
|
||||
if (abortable != null) {
|
||||
abortable.abort(message, e);
|
||||
|
|
Loading…
Reference in New Issue