lazy-load evaluation errors

Closes #1362
This commit is contained in:
ajs124
2024-02-16 16:50:33 +01:00
committed by John Ericson
parent 9d8f30affe
commit 99359c251a
10 changed files with 86 additions and 36 deletions

View File

@@ -86,6 +86,15 @@ sub view_GET {
);
}
sub errors :Chained('evalChain') :PathPart('errors') :Args(0) :ActionClass('REST') { }
sub errors_GET {
my ($self, $c) = @_;
$c->stash->{template} = 'eval-error.tt';
$self->status_ok($c, entity => $c->stash->{eval});
}
sub create_jobset : Chained('evalChain') PathPart('create-jobset') Args(0) {
my ($self, $c) = @_;