added some more information to an error message.
This commit is contained in:
parent
6093c410c9
commit
557775bb38
2 changed files with 5 additions and 1 deletions
|
|
@ -330,7 +330,9 @@ sub run {
|
|||
if ($class && $method) {
|
||||
$object = eval { WebGUI::Pluggable::instanciate($class, $method, [$self->session, $params]) };
|
||||
if ($@) {
|
||||
$self->session->errorHandler->error($@);
|
||||
$self->session->errorHandler->error(
|
||||
q{Error on workflow instance '} . $self->getId . q{': }. $@
|
||||
);
|
||||
$self->set({lastStatus=>"error"}, 1);
|
||||
return "error";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue