summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authordeva <deva>2010-08-18 15:34:04 +0000
committerdeva <deva>2010-08-18 15:34:04 +0000
commit9df4f44e051cf0fa467b8280ee77799163e5c841 (patch)
tree9d6c55915ad9921ea6791b04bfa94acb50a069d5 /client
parent565e8c89be76d851306fb3a14baa1c8fbb06aeb8 (diff)
Added som debug info.
Diffstat (limited to 'client')
-rw-r--r--client/lua.cc4
1 files changed, 4 insertions, 0 deletions
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;