[SR-Dev] git:janakj/bdb: - improve error msg on startup like in commit r3205 for dbtext
Jan Janak
jan at iptel.org
Thu Feb 19 15:05:58 CET 2009
Module: sip-router
Branch: janakj/bdb
Commit: 49de133c51030626b643ed35d4698f37f34c7350
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=49de133c51030626b643ed35d4698f37f34c7350
Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date: Mon Nov 26 13:22:51 2007 +0000
- improve error msg on startup like in commit r3205 for dbtext
git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3207 689a6050-402a-0410-94f2-e92a70836424
---
modules/db_berkeley/km_bdb_lib.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/db_berkeley/km_bdb_lib.c b/modules/db_berkeley/km_bdb_lib.c
index 571ee09..54ee975 100644
--- a/modules/db_berkeley/km_bdb_lib.c
+++ b/modules/db_berkeley/km_bdb_lib.c
@@ -366,7 +366,8 @@ database_p bdblib_get_db(str *_s)
if( !_cachedb)
{
- LM_ERR("_cachedb is not initialized!\n");
+ LM_ERR("db_berkeley cache is not initialized! Check if you loaded db_berkeley "
+ "before any other module that uses it.\n");
return NULL;
}
More information about the sr-dev
mailing list