From 1d9bd60c85e72987a5694d6f2d47be6417a12abd Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 5 Sep 2006 04:54:43 +0000 Subject: [PATCH] bail if we get disconnected 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 718d8ccaf0..87824b3288 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -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); } }; } -- 2.11.0