From 63d7bebbac6a29bb9d6abf3f3218bb86e9e744e7 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 8 Dec 2010 19:21:55 -0800 Subject: output session assert message to user --- src/cstore/cstore.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cstore/cstore.hpp') diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp index d1d01fa..872fe1e 100644 --- a/src/cstore/cstore.hpp +++ b/src/cstore/cstore.hpp @@ -31,7 +31,9 @@ #define ASSERT_IN_SESSION do \ { \ if (!inSession()) { \ - exit_internal("no session\n"); \ + output_user("Internal error: calling %s() without config session\n", \ + __func__); \ + exit_internal("calling %s() without config session\n", __func__); \ } \ } while (0); -- cgit v1.2.3