added some more information to an error message.

This commit is contained in:
Doug Bell 2008-07-10 16:26:04 +00:00
parent 6093c410c9
commit 557775bb38
2 changed files with 5 additions and 1 deletions

View file

@ -16,6 +16,8 @@
- fixed: Donation: Add to Cart still visible in Thank You Message screen
- optimized PurgeOldInboxMessages workflow
- fixed: Calendar: Reorder Events in Week View Broken
- Added more information about workflow instance errors, so we can debug without having
to watch SPECTRE's debug output.
7.5.15
- fixed: Colorpicker window would not open (Martin Kamerbeek / Oqapi)

View file

@ -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";
}