Merge "Display the reason of an Init injection failure."
This commit is contained in:
@@ -140,8 +140,9 @@ public class Init extends SiteProgram {
|
|||||||
throw (Die) why;
|
throw (Die) why;
|
||||||
}
|
}
|
||||||
|
|
||||||
final StringBuilder buf = new StringBuilder();
|
final StringBuilder buf = new StringBuilder(ce.getMessage());
|
||||||
while (why != null) {
|
while (why != null) {
|
||||||
|
buf.append("\n");
|
||||||
buf.append(why.getMessage());
|
buf.append(why.getMessage());
|
||||||
why = why.getCause();
|
why = why.getCause();
|
||||||
if (why != null) {
|
if (why != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user