summaryrefslogtreecommitdiff
path: root/client/lua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/lua.cc')
-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;