Commit 051fa22e authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: specialization failures should not be considered critical

Conflicts:
	modules/Bio/EnsEMBL/Hive/Worker.pm
parent baca69ba
......@@ -627,9 +627,11 @@ sub specialize_and_compile_wrapper {
my $msg = $@;
chomp $msg;
$self->worker_say( "[re]specialization failed:\t$msg" );
$self->adaptor->db->get_LogMessageAdaptor()->store_worker_message($self->dbID, $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