summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-19 01:05:18 +0200
committerRobin Gareus <robin@gareus.org>2017-08-19 01:06:44 +0200
commitfb745cc5a882cd4e3a49ff1f565cb69a65575993 (patch)
tree90dfcfeffabe50c4bdbf889bf0249a901b8b9b93 /libs/ardour/session_state.cc
parent2a9bf034bb21eb684c75711c97f6f730397140ee (diff)
Lua may call C++ functions with throw. Catch them
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 205781b00c..0a1eb2ace6 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -1683,7 +1683,7 @@ Session::set_state (const XMLNode& node, int version)
(*_lua_load)(std::string ((const char*)buf, size));
} catch (luabridge::LuaException const& e) {
cerr << "LuaException:" << e.what () << endl;
- }
+ } catch (...) { }
g_free (buf);
}
}