[open-ils-commits] r7621 - trunk/Open-ILS/src/perlmods/OpenILS/Utils

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Aug 6 18:13:35 EDT 2007


Author: erickson
Date: 2007-08-06 18:10:48 -0400 (Mon, 06 Aug 2007)
New Revision: 7621

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
Log:
throwing real exception now when cstore connection times out

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2007-08-02 17:26:40 UTC (rev 7620)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2007-08-06 22:10:48 UTC (rev 7621)
@@ -272,8 +272,8 @@
 
 	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");
 	}
 
 



More information about the open-ils-commits mailing list