diff options
author | deva <deva> | 2010-08-18 15:34:04 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-18 15:34:04 +0000 |
commit | 9df4f44e051cf0fa467b8280ee77799163e5c841 (patch) | |
tree | 9d6c55915ad9921ea6791b04bfa94acb50a069d5 | |
parent | 565e8c89be76d851306fb3a14baa1c8fbb06aeb8 (diff) |
Added som debug info.
-rw-r--r-- | client/lua.cc | 4 |
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; |