fix(lua): warning message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
926ed0a02d
commit
0e6df0a55b
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ int safe_function_wrapper(lua_State * L, lua_CFunction f){
|
||||||
error_msg = _error_msg.c_str();
|
error_msg = _error_msg.c_str();
|
||||||
} catch (elaborator_exception & e) {
|
} catch (elaborator_exception & e) {
|
||||||
push_justification(L, e.get_justification());
|
push_justification(L, e.get_justification());
|
||||||
lua_error(L);
|
return lua_error(L);
|
||||||
} catch (exception & e) {
|
} catch (exception & e) {
|
||||||
_error_msg = e.what();
|
_error_msg = e.what();
|
||||||
error_msg = _error_msg.c_str();
|
error_msg = _error_msg.c_str();
|
||||||
|
|
Loading…
Reference in a new issue