CLOUDSTACK-8656: messages on errors closing streams for local templates

This commit is contained in:
Daan Hoogland 2015-08-02 12:52:33 +02:00
parent 65dc1d5dba
commit 033ac3b101

View File

@ -123,6 +123,7 @@ public class LocalTemplateDownloader extends TemplateDownloaderBase implements T
try { try {
fic.close(); fic.close();
} catch (IOException e) { } catch (IOException e) {
s_logger.info("[ignore] error while closing file input channel.");
} }
} }
@ -130,6 +131,7 @@ public class LocalTemplateDownloader extends TemplateDownloaderBase implements T
try { try {
foc.close(); foc.close();
} catch (IOException e) { } catch (IOException e) {
s_logger.info("[ignore] error while closing file output channel.");
} }
} }
@ -137,6 +139,7 @@ public class LocalTemplateDownloader extends TemplateDownloaderBase implements T
try { try {
fis.close(); fis.close();
} catch (IOException e) { } catch (IOException e) {
s_logger.info("[ignore] error while closing file input stream.");
} }
} }
@ -144,6 +147,7 @@ public class LocalTemplateDownloader extends TemplateDownloaderBase implements T
try { try {
fos.close(); fos.close();
} catch (IOException e) { } catch (IOException e) {
s_logger.info("[ignore] error while closing file output stream.");
} }
} }