Skip to content

Commit 88ffb28

Browse files
committed
Fixed wrong Exception type thrown in Cluster::dissolve()
1 parent 5c4f93c commit 88ffb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/adminapi/mod_dba_cluster.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ shcore::Value Cluster::dissolve(const shcore::Argument_list &args) {
10331033
// Set the flag, marking this cluster instance as invalid.
10341034
_dissolved = true;
10351035
} else {
1036-
throw Exception::logic_error(
1036+
throw shcore::Exception::logic_error(
10371037
"Cannot drop cluster: The cluster is not empty.");
10381038
}
10391039
}

0 commit comments

Comments
 (0)