diff options
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 9b3b67c285..8b32648123 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1782,7 +1782,10 @@ Session::set_state (const XMLNode& node, int version) Glib::Threads::Mutex::Lock lm (lua_lock); (*_lua_load)(std::string ((const char*)buf, size)); } catch (luabridge::LuaException const& e) { +#ifndef NDEBUG cerr << "LuaException:" << e.what () << endl; +#endif + warning << "LuaException: " << e.what () << endmsg; } catch (...) { } g_free (buf); } |