aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2018-02-01 17:33:44 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-01 17:33:44 +0000
commit7b1ebd04bf514fd9c011dd415b4992ea8beae1aa (patch)
treef532c72559b0d7e28bab7b45ad86dbf9677cc930 /aai-core
parent20b8a65f9dff129be91734445917aa2360fbf94c (diff)
parent33c5c4d2135197c7b5bace228e1e2db3e79d3565 (diff)
Merge "Fix in InjectKeysFromURI"
Diffstat (limited to 'aai-core')
-rw-r--r--aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java b/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java
index e7d86273..f109a62f 100644
--- a/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java
+++ b/aai-core/src/main/java/org/onap/aai/introspection/tools/InjectKeysFromURI.java
@@ -21,6 +21,8 @@
*/
package org.onap.aai.introspection.tools;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
import org.onap.aai.introspection.Introspector;
import org.onap.aai.introspection.Loader;
import org.onap.aai.parsers.uri.URIToObject;
@@ -28,6 +30,7 @@ import org.onap.aai.parsers.uri.URIToObject;
import java.net.URI;
public class InjectKeysFromURI implements IssueResolver {
+ private static final EELFLogger LOGGER = EELFManager.getInstance().getLogger(InjectKeysFromURI.class);
private URI uri = null;
private Loader loader = null;
@@ -59,7 +62,7 @@ public class InjectKeysFromURI implements IssueResolver {
result = true;
}
} catch (Exception e) {
- //log something probably
+ LOGGER.error(e.getMessage(),e);
result = false;
}
}