1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 15:29:36 +02:00

fix: add warning for interrupted download-countries command due to memory issues

This commit is contained in:
Sean Morley 2025-01-13 14:12:05 -05:00
parent f27453824a
commit a766a07ea1
2 changed files with 173 additions and 95 deletions

View file

@ -52,8 +52,13 @@ EOF
fi
# Sync the countries and world travel regions
# Sync the countries and world travel regions
python manage.py download-countries
if [ $? -eq 137 ]; then
>&2 echo "WARNING: The download-countries command was interrupted. This is likely due to lack of memory allocated to the container or the host. Please try again with more memory."
exit 1
fi
cat /code/adventurelog.txt