diff options
Diffstat (limited to 'gtk2_ardour/session_dialog.cc')
-rw-r--r-- | gtk2_ardour/session_dialog.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index be8b067b92..fd4d43d8b6 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -203,12 +203,15 @@ SessionDialog::meta_master_bus_profile (std::string script_path) try { err = lua.do_file (script_path); } catch (luabridge::LuaException const& e) { +#ifndef NDEBUG + cerr << "LuaException:" << e.what () << endl; +#endif + PBD::warning << "LuaException: " << e.what () << endmsg; err = -1; } catch (...) { err = -1; } - if (err) { return UINT32_MAX; } |