Lets' try this out. I wanted to ignore this in the first refactoring PR to save time.
drush updatedb --no-cache-clear -y || { display_error_message "Database update failed"; exit 1; }
drush sqlsan -y || { display_error_message "Database sanitization failed"; exit 1; }
drush cache:rebuild || { display_error_message "Cache rebuild failed"; exit 1; }
drush config:import -y || { display_error_message "Config import failed"; exit 1; }
drush cache:rebuild || { display_error_message "Final cache rebuild failed"; exit 1; }
drush deploy:hook || { display_error_message "Deploy hook failed"; exit 1; }
