13
0

some debug message for lua processors

This commit is contained in:
Robin Gareus 2016-07-01 16:01:33 +02:00
parent f2d2bcfd10
commit 29af3b1aee

View File

@ -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;
}
}