From 725665ac46c76b616f593df02d09ae92983bc977 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 20 May 2016 23:15:58 +0200 Subject: lua inline display error reporting --- gtk2_ardour/processor_box.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/processor_box.cc') diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 641ff9d33e..b2fa760b6b 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1687,7 +1687,9 @@ ProcessorEntry::LuaPluginDisplay::render_inline (cairo_t *cr, uint32_t width) return h; } } catch (luabridge::LuaException const& e) { - ; +#ifndef NDEBUG + cerr << "LuaException:" << e.what () << endl; +#endif } return 0; } -- cgit v1.2.3