cancel status should be error not info
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user