mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
Show entitlement jar path in agent load failure (#130233)
When the entitelement agent fails to load the underlying exception can be cryptic. In some casees it may be that the path the agent jar is bad. This commit expands the exception message to show the agent path that we tried to load.
This commit is contained in:
parent
ea2e7b4382
commit
5dcded20a9
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ public class EntitlementBootstrap {
|
|||
vm.detach();
|
||||
}
|
||||
} catch (AttachNotSupportedException | IOException | AgentLoadException | AgentInitializationException e) {
|
||||
throw new IllegalStateException("Unable to attach entitlement agent", e);
|
||||
throw new IllegalStateException("Unable to attach entitlement agent [" + agentPath + "]", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue