Commit bca8e115 authored by Jessica Severin's avatar Jessica Severin
Browse files

just exit(0) when can't create worker rather than die(). Will register

as DONE now with LSF, and EXIT will be reserved for true failure cases
parent 34d2a1ae
......@@ -108,7 +108,8 @@ my $worker = $queen->create_new_worker(
);
unless($worker) {
Bio::EnsEMBL::Hive::URLFactory->cleanup;
die("couldn't create worker\n");
print("couldn't create worker\n");
exit(0);
}
if(defined($self->{'outdir'})) { $worker->output_dir($self->{'outdir'}); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment