mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 18:38:41 +00:00
fix typo in exception
This commit is contained in:
parent
595e0e254e
commit
a42f9491b5
@ -66,7 +66,7 @@ public class HeapDumpContributor implements DumpContributor {
|
||||
@Override
|
||||
public void contribute(Dump dump) throws DumpContributionFailedException {
|
||||
if (heapDumpMethod == null) {
|
||||
throw new DumpContributionFailedException(getName(), "Heap dump not enalbed on this JVM");
|
||||
throw new DumpContributionFailedException(getName(), "Heap dump not enabled on this JVM");
|
||||
}
|
||||
try {
|
||||
heapDumpMethod.invoke(diagnosticMBean, dump.createFile("heap.hprof").getAbsolutePath(), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user