From 0da0384753ac866112641c33ca06b2194b86fe64 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 23 Mar 2009 01:13:37 +0000 Subject: [PATCH] * Top-level: don't exit on errors. --- src/script/hydra_scheduler.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/script/hydra_scheduler.pl b/src/script/hydra_scheduler.pl index 368ecc55..78ebfbf7 100755 --- a/src/script/hydra_scheduler.pl +++ b/src/script/hydra_scheduler.pl @@ -467,7 +467,10 @@ if (scalar @ARGV == 2) { while (1) { - checkJobs; + eval { + checkJobs; + }; + if ($@) { print "$@"; } print "sleeping...\n"; sleep 30; }