mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
* refactor(Misc/Conf): DBErrors is now StartupErrors * pt2 * Update ci-error-check.sh * Update ci-error-check.sh
19 lines
379 B
Bash
Executable File
19 lines
379 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
ERRORS_FILE="./env/dist/bin/Errors.log";
|
|
|
|
echo "Checking Startup Errors"
|
|
echo
|
|
|
|
if [[ -s ${ERRORS_FILE} ]]; then
|
|
printf "The Errors.log file contains startup errors:\n\n";
|
|
cat ${ERRORS_FILE};
|
|
printf "\nPlease solve the startup errors listed above!\n";
|
|
exit 1;
|
|
else
|
|
echo "> No startup errors found in Errors.log";
|
|
fi
|
|
|
|
echo
|
|
echo "Done"
|