]> git.decadent.org.uk Git - dak.git/commitdiff
notify about errors, dont stop script
authorJoerg Jaspert <joerg@debian.org>
Fri, 25 Dec 2015 22:37:25 +0000 (23:37 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 25 Dec 2015 22:38:04 +0000 (23:38 +0100)
config/debian/cron.daily

index f57f6a8d958912e79affadc250abb4f0ba19e761..e55322ff45b9ae828001ac5a017569582712edf7 100755 (executable)
@@ -60,7 +60,7 @@ dak stats new ${webdir}/NEW-stats.yaml 2> /dev/null
 # FIXME: In a day or three, when this worked from cron without
 # failure, redirect its output to dev/null. Alternatively until then
 # enrico added a --quiet and we use that.
-REQUESTS_CA_BUNDLE=/etc/ssl/ca-debian/ca-certificates.crt dc-tool --mine="${configdir}/contributor.source" --auth-token @"${base}/s3kr1t/contributor.auth" --source ftp.debian.org --post
+REQUESTS_CA_BUNDLE=/etc/ssl/ca-debian/ca-certificates.crt dc-tool --mine="${configdir}/contributor.source" --auth-token @"${base}/s3kr1t/contributor.auth" --source ftp.debian.org --post || echo "Error submitting contributor data"
 
 ${scriptsdir}/link_morgue.sh