Skip to content

Commit

Permalink
specify the path in the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Jan 6, 2025
1 parent 62198ef commit 9164e39
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/*
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
*/
package opengrok.auth.plugin;

Expand Down Expand Up @@ -133,7 +133,8 @@ public void load(Map<String, Object> parameters) {
cfg = getConfiguration(configurationPath);
ldapProvider = new LdapFacade(cfg);
} catch (IOException ex) {
throw new IllegalArgumentException("Unable to read the configuration", ex);
throw new IllegalArgumentException(
String.format("Unable to read the configuration from '%s'", configurationPath), ex);
}
}

Expand Down

0 comments on commit 9164e39

Please sign in to comment.