mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CLOUDSTACK-8656: messages on errors closing streams for local templates
This commit is contained in:
		
							parent
							
								
									65dc1d5dba
								
							
						
					
					
						commit
						033ac3b101
					
				| @ -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."); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user