Skip to content
Snippets Groups Projects
Commit 2368ce0e authored by Leo Gordon's avatar Leo Gordon
Browse files

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

parents d9f1b05b 7585642c
No related branches found
No related tags found
No related merge requests found
......@@ -590,9 +590,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() ) {
......
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