From e7a1c657819204bcc0521e616d8d7ac4923b9bb7 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 6 Aug 2007 22:10:48 +0000 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.11.0