Get more detail on undeclared exception thrown...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021911 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9c67949638
commit
c189e8e967
|
@ -789,6 +789,10 @@ public class AssignmentManager extends ZooKeeperListener {
|
|||
} catch (NotServingRegionException e) {
|
||||
LOG.warn("Attempted to close region " + region.getRegionNameAsString() +
|
||||
" but got an NSRE", e);
|
||||
} catch (Throwable t) {
|
||||
// For now call abort if unexpected exception -- seeing it up in hudson.
|
||||
// St.Ack 20101012
|
||||
this.master.abort("Unexpected exception", t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue