Skip to content
Snippets Groups Projects
  • Christof Lauber's avatar
    9c9f314f
    pbx_lua: Support displaying lua error message if no debug table exists · 9c9f314f
    Christof Lauber authored
    The lua_error_function assumed that lua's debug table and traceback function
    are always accessible, which is not the case. This fixes the error message
    'Error in the lua error handler' triggred by switch exec() function.
    If this happens lua's error message is shown without traceback.
    
    Change-Id: I34ba0a098f1ae06a3af7b4d1b098bd43f42f96c8
    9c9f314f
    History
    pbx_lua: Support displaying lua error message if no debug table exists
    Christof Lauber authored
    The lua_error_function assumed that lua's debug table and traceback function
    are always accessible, which is not the case. This fixes the error message
    'Error in the lua error handler' triggred by switch exec() function.
    If this happens lua's error message is shown without traceback.
    
    Change-Id: I34ba0a098f1ae06a3af7b4d1b098bd43f42f96c8