Skip to content

Commit efcef92

Browse files
committed
report exception when file cannot be read in ConfigMerge tool
1 parent b537560 commit efcef92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/opensolaris/opengrok/configuration/ConfigMerge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static void main(String[] argv) {
145145
try {
146146
cfgNew = Configuration.read(new File(argv[optind + 1]));
147147
} catch (IOException ex) {
148-
System.err.println("cannot read file " + argv[optind + 1]);
148+
System.err.println("cannot read file " + argv[optind + 1] + ":" + ex);
149149
System.exit(1);
150150
}
151151

0 commit comments

Comments
 (0)