bail if we get disconnected
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Sep 2006 04:54:43 +0000 (04:54 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Sep 2006 04:54:43 +0000 (04:54 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5946 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 718d8cc..87824b3 100644 (file)
@@ -873,6 +873,7 @@ sub new_hold_copy_targeter {
                        if ($e !~ /^OK/o) {
                                $log->error("Processing of hold failed:  $e");
                                $self->method_lookup('open-ils.storage.transaction.rollback')->run;
+                               throw $e if ($e =~ /IS NOT CONNECTED TO THE NETWORK/o);
                        }
                };
        }