diff cmdline/org/tmatesoft/hg/console/Main.java @ 360:150500515714

Report non-critical errors during status operation to handler/inspector
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 08 Dec 2011 22:19:27 +0100
parents 5f9073eabf06
children 4937e35b805b
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Main.java	Thu Dec 08 15:34:13 2011 +0100
+++ b/cmdline/org/tmatesoft/hg/console/Main.java	Thu Dec 08 22:19:27 2011 +0100
@@ -640,6 +640,11 @@
 			}
 		}
 		
+		public void invalid(Path fname, Exception ex) {
+			System.out.printf("FAILURE: %s\n", fname);
+			ex.printStackTrace(System.out);
+		}
+		
 		private void print(char status, Path fname) {
 			if (!hideStatusPrefix) {
 				System.out.print(status);