summaryrefslogtreecommitdiff
path: root/libs/ardour/luaproc.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-01 16:01:33 +0200
committerRobin Gareus <robin@gareus.org>2016-07-01 16:02:11 +0200
commit29af3b1aee90823eb90494b6f881318adbbc0416 (patch)
treeceebab1d43bd439be4f8f445d88b3c76b8571e21 /libs/ardour/luaproc.cc
parentf2d2bcfd106a24d517acf7ba4f6dc1dc1aaa2f10 (diff)
some debug message for lua processors
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r--libs/ardour/luaproc.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc
index da7be47d21..63b4e11299 100644
--- a/libs/ardour/luaproc.cc
+++ b/libs/ardour/luaproc.cc
@@ -602,6 +602,10 @@ LuaProc::configure_io (ChanCount in, ChanCount out)
try {
lua_dsp_configure (&in, &out);
} catch (luabridge::LuaException const& e) {
+ PBD::error << "LuaException: " << e.what () << "\n";
+#ifndef NDEBUG
+ std::cerr << "LuaException: " << e.what () << "\n";
+#endif
return false;
}
}