summaryrefslogtreecommitdiffstats
path: root/aai-core
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2018-01-31 12:21:33 +0100
committerburdziak <olaf.burdziakowski@nokia.com>2018-01-31 12:21:33 +0100
commit33c5c4d2135197c7b5bace228e1e2db3e79d3565 (patch)
treef244a7a895fc6cfc107e42b2a21f62f76fad05c8 /aai-core
parent6b98bb3ec93a0bbfbe0e660cabc69978b53bfee8 (diff)
Fix in InjectKeysFromURI
Change-Id: I9113bdf8b87441c792bf151124fcf603ab8b5424 Issue-ID: AAI-716 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
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;
}
}