Skip to content

Commit

Permalink
🐛 Update plugin path resolution in JSInterceptorFactory to use URI an…
Browse files Browse the repository at this point in the history
…d add debug logging
  • Loading branch information
mkjsix committed Nov 20, 2024
1 parent ac80924 commit d8b4523
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public JSInterceptorFactory(Optional<MongoClient> mclient, Configuration config)
}

// check plugin definition
var sindexPath = pluginPath.toAbsolutePath().toString();
var sindexPath = pluginPath.toUri().toString();
LOGGER.debug("Resolved interceptor path: {}", sindexPath);

try (Context ctx = ContextQueue.newContext(engine, "foo", config, LOGGER, mclient, "", contextOptions)) {

Expand Down

0 comments on commit d8b4523

Please sign in to comment.