Merge "Display the reason of an Init injection failure."

This commit is contained in:
Shawn Pearce
2012-10-11 02:29:35 -07:00
committed by Gerrit Code Review

View File

@@ -140,8 +140,9 @@ public class Init extends SiteProgram {
throw (Die) why;
}
final StringBuilder buf = new StringBuilder();
final StringBuilder buf = new StringBuilder(ce.getMessage());
while (why != null) {
buf.append("\n");
buf.append(why.getMessage());
why = why.getCause();
if (why != null) {