Mercurial > hg4j
diff 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 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgDataFile.java Wed Sep 14 04:41:57 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgDataFile.java Fri Sep 16 05:35:32 2011 +0200 @@ -139,7 +139,7 @@ try { fc.close(); } catch (IOException ex) { - ex.printStackTrace(); + getRepo().getContext().getLog().info(getClass(), ex, null); } } }