Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgDataFile.java @ 295:981f9f50bb6c
Issue 11: Error log facility. SessionContext to share common facilities
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 16 Sep 2011 05:35:32 +0200 |
parents | 74e7493a042a |
children | 650b45d290b1 |
comparison
equal
deleted
inserted
replaced
294:32890bab7209 | 295:981f9f50bb6c |
---|---|
137 progress.done(); | 137 progress.done(); |
138 if (fc != null) { | 138 if (fc != null) { |
139 try { | 139 try { |
140 fc.close(); | 140 fc.close(); |
141 } catch (IOException ex) { | 141 } catch (IOException ex) { |
142 ex.printStackTrace(); | 142 getRepo().getContext().getLog().info(getClass(), ex, null); |
143 } | 143 } |
144 } | 144 } |
145 } | 145 } |
146 } else { | 146 } else { |
147 contentWithFilters(TIP, sink); | 147 contentWithFilters(TIP, sink); |