drop out if things are not going well
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 Sep 2006 22:09:20 +0000 (22:09 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 Sep 2006 22:09:20 +0000 (22:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5900 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index 3607afc..e405ce9 100644 (file)
@@ -602,6 +602,7 @@ sub generate_fines {
                        $client->respond( "Error processing overdue circulation [".$c->id."]:\n\n$e\n" );
                        $log->error("Error processing overdue circulation [".$c->id."]:\n$e\n");
                        $self->method_lookup('open-ils.storage.transaction.rollback')->run;
+                       throw $e ifif ($e =~ /IS NOT CONNECTED TO THE NETWORK/o);
                };
        }
 }