diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-21 21:29:56 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-21 21:29:56 +0100 |
commit | d135728424dad963f789f2362f794ee393a11823 (patch) | |
tree | 021a78cf784440ccf1a757a350ea6fbcbe33308c /degesch.c | |
parent | 2185af0b7d2f5c8898b9ef2be3ab9cf78a8c962d (diff) | |
download | xK-d135728424dad963f789f2362f794ee393a11823.tar.gz xK-d135728424dad963f789f2362f794ee393a11823.tar.xz xK-d135728424dad963f789f2362f794ee393a11823.zip |
degesch: pop() the Lua error in timer dispatch
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7667,6 +7667,8 @@ lua_timer_hook_dispatch (void *user_data) { struct error *e = NULL; (void) lua_plugin_process_error (plugin, lua_tostring (L, -1), &e); + lua_pop (L, 1); + log_global_error (plugin->ctx, "Lua: plugin \"#s\": #s: #s", plugin->super.name, "timer hook", e->message); error_free (e); |