OliverKeyes has submitted this change and it was merged.

Change subject: Fix a bug when backfilling multiple dates
......................................................................


Fix a bug when backfilling multiple dates

Change-Id: I6ef3d56e8e2c5e9de56316738fdca094a01ba71c
---
M run.R
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  OliverKeyes: Verified; Looks good to me, approved



diff --git a/run.R b/run.R
index 2afe89e..4da8f28 100644
--- a/run.R
+++ b/run.R
@@ -41,7 +41,7 @@
                                                pattern = 
split_name[length(split_name)], fixed = TRUE)])
         source(file_to_run)
         tryCatch({
-          main(missing_dates)
+          sapply(missing_dates, main)
         }, error = function(e){ # On error, return the error message and the 
file that errored, but don't stop.
           print(e$message)
           print(file_to_run)

-- 
To view, visit https://gerrit.wikimedia.org/r/253833
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6ef3d56e8e2c5e9de56316738fdca094a01ba71c
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/golden
Gerrit-Branch: master
Gerrit-Owner: Bearloga <mpo...@wikimedia.org>
Gerrit-Reviewer: OliverKeyes <oke...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to