[interchange] Give some sort of informative error message if we crap out loading the locale db

Peter Ajamian interchange-cvs at icdevgroup.org
Mon Sep 13 05:32:32 UTC 2010


commit bf2c0a28fbaedb822de6857d350a6d73a7ea6d08
Author: Peter Ajamian <peter at pajamian.dhs.org>
Date:   Mon Sep 13 17:29:55 2010 +1200

    Give some sort of informative error message if we crap out loading the locale db

 lib/Vend/Config.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Config.pm b/lib/Vend/Config.pm
index 1355368..15fb857 100644
--- a/lib/Vend/Config.pm
+++ b/lib/Vend/Config.pm
@@ -4650,7 +4650,7 @@ sub parse_configdb {
 	eval {
 		($db, $table) = get_configdb($var, $value);
 	};
-
+	::logGlobal("$var $value: $@") if $@;
 	return '' if ! $db;
 
 	my ($k, @f);	# key and fields



More information about the interchange-cvs mailing list