From 7b24f6afae8c9aab430373d87d8cec1fa7dd2430 Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@3a-systems.ru>
Date: Sat, 23 Sep 2023 04:33:40 +0000
Subject: [PATCH] ADD IT test for wars #110 (#306)
---
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LdapHttpApplication.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LdapHttpApplication.java b/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LdapHttpApplication.java
index 5efd956..c70ec32 100644
--- a/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LdapHttpApplication.java
+++ b/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LdapHttpApplication.java
@@ -179,7 +179,7 @@
final URL configUrl = getClass().getResource("/config.json");
this.configDirectory = configUrl != null ? new File(configUrl.toURI()).getParentFile() : null;
} catch (final URISyntaxException e) {
- throw new IllegalStateException(e);
+ throw new IllegalStateException(""+getClass().getResource("/config.json"),e);
}
this.schema = Schema.getDefaultSchema();
}
--
Gitblit v1.10.0