[Affelio-cvs 1371] CVS update: affelio/lib

Back to archive index

Tadashi Okoshi slash****@users*****
2006年 6月 26日 (月) 02:10:13 JST


Index: affelio/lib/Affelio.pm
diff -u affelio/lib/Affelio.pm:1.46 affelio/lib/Affelio.pm:1.47
--- affelio/lib/Affelio.pm:1.46	Tue Jun  6 17:39:58 2006
+++ affelio/lib/Affelio.pm	Mon Jun 26 02:10:13 2006
@@ -14,7 +14,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: Affelio.pm,v 1.46 2006/06/06 08:39:58 slash5234 Exp $
+# $Id: Affelio.pm,v 1.47 2006/06/25 17:10:13 slash5234 Exp $
 
 package Affelio;
 {
@@ -702,7 +702,7 @@
 	    $self->{farm_con} = $con_class->new(path => $con_arg);
 	    if($@){
 		debug_print("$@");
-		throw Affelio::exception::SystemException("Could not instantiate [$con_class].");
+		throw Affelio::exception::SystemException("Could not instantiate [$con_class] [$@].");
 	    }
 	    debug_print("Affelio::get_farm_con: con=[$self->{farm_con}]");
 	}
@@ -801,7 +801,7 @@
 	    debug_print("Affelio::read_site_config: AFE_con=[$clsname]");
 
 	    eval "require $clsname; import $clsname;";
-	    if($@){	    throw Affelio::exception::SystemException("Could not load [$clsname]");	}
+	    if($@){	    throw Affelio::exception::SystemException("Could not load [$clsname] [$@]");}
 	    debug_print("Affelio::read_site_config: AFE_con [$clsname] loaded.");
 #	    $self->{farm_con} = eval "new $clsname;";
 	    $self->{farm_con} = $clsname->new(af => $self);


Affelio-cvs メーリングリストの案内
Back to archive index