From 4b5ae55f6bfbd79a6e213bef75461fb9d2871dfb Mon Sep 17 00:00:00 2001 From: Shubhada Ramkrishna Vaze Date: Wed, 16 Jan 2019 15:04:13 +0530 Subject: Either log or rethrow this exception. Location:DistributionClientEmulator.java Change-Id: I38b1b3fed9db0d24a6045352127e48b98cce6b63 Issue-ID: SO-1397 Signed-off-by: Shubhada Ramkrishna Vaze --- .../so/asdc/client/test/emulators/DistributionClientEmulator.java | 5 +++-- 1 file 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); -- cgit 1.2.3-korg