bail if we get disconnected
[Evergreen.git] / 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);
                        }
                };
        }