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:
parent
f27453824a
commit
a766a07ea1
2 changed files with 173 additions and 95 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue