summaryrefslogtreecommitdiffstats
path: root/asdc-controller/src
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2019-01-22 14:41:31 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-22 14:41:31 +0000
commit303b11fd56f09afea5ae125ee0bdc69c6ceac141 (patch)
treeb6ceff66030c4b1a2eac13edfdc36b6fbbaff556 /asdc-controller/src
parent244b9781a51c6172797f2ec8193399d1233778cc (diff)
parent4b5ae55f6bfbd79a6e213bef75461fb9d2871dfb (diff)
Merge "Either log or rethrow this exception."
Diffstat (limited to 'asdc-controller/src')
-rw-r--r--asdc-controller/src/main/java/org/onap/so/asdc/client/test/emulators/DistributionClientEmulator.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/client/test/emulators/DistributionClientEmulator.java b/asdc-controller/src/main/java/org/onap/so/asdc/client/test/emulators/DistributionClientEmulator.java
index 1d07656012..596ad16d34 100644
--- a/asdc-controller/src/main/java/org/onap/so/asdc/client/test/emulators/DistributionClientEmulator.java
+++ b/asdc-controller/src/main/java/org/onap/so/asdc/client/test/emulators/DistributionClientEmulator.java
@@ -90,8 +90,9 @@ public class DistributionClientEmulator implements IDistributionClient {
byte[] inputStream=null;
try {
inputStream = getData(filename);
- } catch (IOException e) {
- logger.debug("InputStream is NULL for:"+ resourcePath + filename);
+ } catch (IOException e) {
+
+ logger.error("IOException in DistributionClientEmulator.download() method :",e);
}
return new DistributionClientDownloadResultImpl(DistributionActionResultEnum.SUCCESS, DistributionActionResultEnum.SUCCESS.name(),arg0.getArtifactName(),inputStream);