File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 60286
1+ 149577
Original file line number Diff line number Diff line change 1+ Error: Could not find or load main class source.AE6E66Main
2+ Caused by: java.lang.ClassNotFoundException: source.AE6E66Main
Original file line number Diff line number Diff line change @@ -124,11 +124,18 @@ for MOD_DIR in "${!MODULES[@]}"; do
124124
125125 echo -n " [*] Starting $MOD_DIR backend... "
126126
127- if cd " $MOD_PATH " && bash start-backend.sh > /dev/null 2>&1 ; then
127+ set +e
128+ BACKEND_OUT=$( cd " $MOD_PATH " && bash start-backend.sh 2>&1 )
129+ BACKEND_RC=$?
130+ set -e
131+
132+ if [ $BACKEND_RC -eq 0 ]; then
128133 echo " ✓"
129134 SUCCESS+=(" $MOD_DIR " )
130135 else
131136 echo " ✗"
137+ # Show last line of error for quick diagnosis
138+ echo " $BACKEND_OUT " | grep -i " error\|fail\|exception\|not found" | tail -2 | sed ' s/^/ /'
132139 FAILED+=(" $MOD_DIR " )
133140 fi
134141done
You can’t perform that action at this time.
0 commit comments