Merge "Either log or rethrow this exception."
authorSteve Smokowski <ss835w@att.com>
Tue, 22 Jan 2019 14:41:31 +0000 (14:41 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 22 Jan 2019 14:41:31 +0000 (14:41 +0000)
asdc-controller/src/main/java/org/onap/so/asdc/client/test/emulators/DistributionClientEmulator.java

index 1d07656..596ad16 100644 (file)
@@ -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);