B4J Question Handling errors in the Application_Error event

nima66

Member
Does b4j have an event similar to b4a for errors that occur anywhere in the application?

B4X:
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean

Because I want to store the error in the server database.
That way I can fix the problem in the next update.
 

nima66

Member
It was in debug mode and the error handling event was not executed.
It was executed in release mode.
The advantage of b4a is that it is in the Starter service that detects errors in every activity.
Now I have to write this event in every class. Right?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Now I have to write this event in every class. Right?
No.

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…