cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [02/13] git commit: updated refs/heads/master to d32d6a2
Date Mon, 03 Aug 2015 21:45:01 GMT
CLOUDSTACK-8656: messages on errors closing streams for local templates

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/033ac3b1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/033ac3b1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/033ac3b1

Branch: refs/heads/master
Commit: 033ac3b1015aa3a20d6700fce75d49bd2e2bd082
Parents: 65dc1d5
Author: Daan Hoogland <daan@onecht.net>
Authored: Sun Aug 2 12:52:33 2015 +0200
Committer: Daan Hoogland <daan@onecht.net>
Committed: Sun Aug 2 12:52:33 2015 +0200

----------------------------------------------------------------------
 core/src/com/cloud/storage/template/LocalTemplateDownloader.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/033ac3b1/core/src/com/cloud/storage/template/LocalTemplateDownloader.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/storage/template/LocalTemplateDownloader.java b/core/src/com/cloud/storage/template/LocalTemplateDownloader.java
index 0edfb13..d55a4a2 100644
--- a/core/src/com/cloud/storage/template/LocalTemplateDownloader.java
+++ b/core/src/com/cloud/storage/template/LocalTemplateDownloader.java
@@ -123,6 +123,7 @@ public class LocalTemplateDownloader extends TemplateDownloaderBase implements
T
                 try {
                     fic.close();
                 } 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 {
                     foc.close();
                 } 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 {
                     fis.close();
                 } 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 {
                     fos.close();
                 } catch (IOException e) {
+                    s_logger.info("[ignore] error while closing file output stream.");
                 }
             }
 


Mime
View raw message