From: erickson Date: Mon, 6 Aug 2007 22:10:48 +0000 (+0000) Subject: throwing real exception now when cstore connection times out X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e7a1c657819204bcc0521e616d8d7ac4923b9bb7;p=Evergreen.git throwing real exception now when cstore connection times out git-svn-id: svn://svn.open-ils.org/ILS/trunk@7621 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm index e44437c98d..d84c82bb1c 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm @@ -272,8 +272,8 @@ sub request { if( $self->{xact} and $self->session->state != OpenSRF::AppSession::CONNECTED() ) { - $logger->error("CStoreEditor lost it's connection!!"); - #throw OpenSRF::EX::ERROR ("CStoreEditor lost it's connection - transaction cannot continue"); + #$logger->error("CStoreEditor lost it's connection!!"); + throw OpenSRF::EX::ERROR ("CStore connection timed out - transaction cannot continue"); }