We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad5fed2 commit 3828e03Copy full SHA for 3828e03
1 file changed
infra/scripts/run_create_index_scripts.sh
@@ -63,9 +63,18 @@ pip install -r infra/scripts/index_scripts/requirements.txt
63
echo "Requirements installed"
64
65
# Run the scripts
66
-echo "Running the scripts"
+echo "Running the pyhton scripts"
67
echo "Creating the search index"
68
python infra/scripts/index_scripts/01_create_search_index.py
69
+if [ $? -ne 0 ]; then
70
+ echo "Error: 01_create_search_index.py failed."
71
+ exit 1
72
+fi
73
+
74
echo "Processing the data"
75
python infra/scripts/index_scripts/02_process_data.py
76
77
+ echo "Error: 02_process_data.py failed."
78
79
80
echo "Scripts completed"
0 commit comments