Skip to content
Snippets Groups Projects
Commit 7daf021f authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

try to capture bad error code

parent a2ec6683
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,15 @@ git pull
# pull in the latest filter file from the archive
cd ~dmtexec/calibration/
filter_file=gstlal_compute_strain_C00_filters_${IFO}.npz
curl --remote-name https://ldas-jobs.ligo-${site}.caltech.edu/~cal/archive/${IFO}/reports/latest/${filter_file}
return_code=$(curl \
--write-out "%{http_code}" \
--remote-name \
https://ldas-jobs.ligo-${site}.caltech.edu/~cal/archive/${IFO}/reports/latest/${filter_file}
)
if [[ "$return_code" != 200 ]] ; then
echo "filter download did not return 200 status: $return_code"
exit 1
fi
sha256sum ${filter_file}
# restart the pipeline
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment