- Fixed a problem where shop could create internal server errors instead of
catching the exceptions. - Made the iTransact terminal link a button that automatically logs you in. - iTransact now more gracefully handles recurring payment postback errors.
This commit is contained in:
parent
b6363ce0c3
commit
6093c410c9
3 changed files with 48 additions and 32 deletions
|
|
@ -53,7 +53,7 @@ sub handler {
|
|||
$request->push_handlers(PerlResponseHandler => sub {
|
||||
my $session = WebGUI::Session->open($server->dir_config('WebguiRoot'), $config->getFilename, $request, $server);
|
||||
foreach my $handler (@{$config->get("contentHandlers")}) {
|
||||
my $output = WebGUI::Pluggable::run($handler, "handler", [ $session ] );
|
||||
my $output = eval { WebGUI::Pluggable::run($handler, "handler", [ $session ] )};
|
||||
if ( my $e = WebGUI::Error->caught ) {
|
||||
$session->errorHandler->error($e->package.":".$e->line." - ".$e->error);
|
||||
$session->errorHandler->debug($e->package.":".$e->line." - ".$e->trace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue