13
0

Fix -Wcatch-value in unit-tests

This commit is contained in:
Robin Gareus 2020-12-06 03:25:39 +01:00
parent e750cab915
commit bc9b94dfab
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -46,7 +46,7 @@ LuaScriptTest::session_script_test ()
try {
LuaScriptParamList lsp = LuaScriptParams::script_params (spi, "sess_params");
_session->register_lua_function ("test", script, lsp);
} catch (SessionException e) {
} catch (...) {
CPPUNIT_FAIL (spi->name + ": Cannot add script to session");
continue;
}