B4A has this sub in the starter that is executed on all errors.
It would be nice to do this in b4i. I find discovering where crashes on production apps are happening on iOS to be quite difficult (even with crash reporting). It would be nice to add the actual line of b4x code to the crash report rather than the underlying Objective C.
B4X:
'Return true to allow the OS default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
Return True
End Sub
It would be nice to do this in b4i. I find discovering where crashes on production apps are happening on iOS to be quite difficult (even with crash reporting). It would be nice to add the actual line of b4x code to the crash report rather than the underlying Objective C.