Skip to content

Commit

Permalink
add debug log before testing plugin callback
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Oct 4, 2024
1 parent abfc597 commit 24ae493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/cryostat/discovery/DiscoveryPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ public void prePersist(DiscoveryPlugin plugin) {
plugin.callback = UriBuilder.fromUri(plugin.callback).userInfo(null).build();
}
try {
logger.debugv(
"Testing discovery plugin callback: {0} @ {1}",
plugin.realm.name, plugin.callback);
PluginCallback.create(plugin).ping();
logger.debugv(
"Registered discovery plugin: {0} @ {1}",
Expand Down

0 comments on commit 24ae493

Please sign in to comment.