better catching of error in lua callbacks
This commit is contained in:
parent
53cda95ca5
commit
22c62d16a9
|
@ -24,7 +24,7 @@ namespace BizHawk.Client.Common
|
|||
{
|
||||
_function.Call();
|
||||
}
|
||||
catch (SystemException ex)
|
||||
catch (Exception ex)
|
||||
{
|
||||
logCallback(
|
||||
"error running function attached by the event " +
|
||||
|
|
Loading…
Reference in New Issue