Commit 86b742e2 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 695cf3b6 064f9a44
...@@ -582,9 +582,11 @@ sub specialize_and_compile_wrapper { ...@@ -582,9 +582,11 @@ sub specialize_and_compile_wrapper {
my $msg = $@; my $msg = $@;
chomp $msg; chomp $msg;
$self->worker_say( "[re]specialization failed:\t$msg" ); $self->worker_say( "[re]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 "..."; $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() ) { 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