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

pulled in bugfix [to ENSCOMPARASW-166] : standaloneJob prints the error...

pulled in bugfix [to ENSCOMPARASW-166] : standaloneJob prints the error message and exits with error code=1
parents 7499fc2f 3ed48903
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ sub warning {
$is_error //= 0;
chomp $msg;
$self->say_with_header( ($is_error ? 'Fatal' : 'Warning')." : $msg" );
$self->say_with_header( ($is_error ? 'Fatal' : 'Warning')." : $msg", 1 );
my $job = $self->input_job;
......
......@@ -87,6 +87,8 @@ foreach my $branch_code (keys %$flow_into) {
$runnable_object->input_job($job);
$runnable_object->life_cycle();
exit(1) if($job->died_somewhere());
$runnable_object->cleanup_worker_temp_directory() unless($no_cleanup);
__DATA__
......
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