HBASE-11749 Better error logging when coprocessors loading has failed (Srikanth Srungarapu)

This commit is contained in:
Andrew Purtell 2014-08-14 17:51:06 -07:00
parent a15b343fbf
commit 9db1f2cc37
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ public abstract class CoprocessorHost<E extends CoprocessorEnvironment> {
} }
protected void abortServer(final String coprocessorName, final Throwable e) { 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); LOG.error(message, e);
if (abortable != null) { if (abortable != null) {
abortable.abort(message, e); abortable.abort(message, e);