Bearloga has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/248383

Change subject: Fixes tryCatch to keep going in case of error
......................................................................

Fixes tryCatch to keep going in case of error

Change-Id: Ie673302f80efa530230bda846797b37533a78f03
---
M run.R
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/golden 
refs/changes/83/248383/1

diff --git a/run.R b/run.R
index d13b23c..0183a99 100644
--- a/run.R
+++ b/run.R
@@ -1,5 +1,4 @@
-source("config.R")
-source("common.R")
+source("common.R") # config.R is sourced by common.R anyway
 
 # Central function
 run <- function(dates = NULL){
@@ -18,7 +17,6 @@
         main()
       }, error = function(e){
         print(x)
-        stop(e)
       })
 
     })

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie673302f80efa530230bda846797b37533a78f03
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/golden
Gerrit-Branch: master
Gerrit-Owner: Bearloga <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to