Commit 7585642c authored by Leo Gordon's avatar Leo Gordon
Browse files

pulled in the "non-critical specialization failures" bugfix from upstream

Conflicts:
	modules/Bio/EnsEMBL/Hive/Worker.pm
parents 95f7a7af 86b742e2
......@@ -583,9 +583,11 @@ sub specialize_and_compile_wrapper {
my $msg = $@;
chomp $msg;
$self->worker_say( "specialization failed:\t$msg" );
$self->adaptor->db->get_LogMessageAdaptor()->store_worker_message($self, $msg, 1 );
$self->cause_of_death('SEE_MSG') unless($self->cause_of_death()); # some specific causes could have been set prior to die "...";
my $is_error = $self->cause_of_death() ne 'NO_ROLE';
$self->adaptor->db->get_LogMessageAdaptor()->store_worker_message($self, $msg, $is_error );
};
if( !$self->cause_of_death() ) {
......
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