From 9df4f44e051cf0fa467b8280ee77799163e5c841 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 18 Aug 2010 15:34:04 +0000 Subject: Added som debug info. --- client/lua.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client') diff --git a/client/lua.cc b/client/lua.cc index 8a18b1e..eae2e32 100644 --- a/client/lua.cc +++ b/client/lua.cc @@ -62,8 +62,12 @@ static int get_widget(lua_State *L) if(widget) { wdg_make_widget(L, widget); + DEBUG(lua, "get_widget found widget %s", + name.toStdString().c_str()); } else { lua_pushnil(L); + WARN(lua, "get_widget could not find widget %s", + name.toStdString().c_str()); } return 1; -- cgit v1.2.3