cancel status should be error not info

This commit is contained in:
Oliver Gorwits
2018-02-11 21:53:51 +00:00
parent bfc34049db
commit a822675eb6

View File

@@ -78,7 +78,7 @@ sub cancel {
my ($job, $msg) = @_; my ($job, $msg) = @_;
$msg ||= 'unknown reason for cancelled job'; $msg ||= 'unknown reason for cancelled job';
$job->is_cancelled(true); $job->is_cancelled(true);
return Status->info($msg); return Status->error($msg);
} }
=head2 finalise_status =head2 finalise_status