B4J Question How to capture crash log and send it to a server

Discussion in 'B4J Questions' started by xulihang, May 31, 2019.

  1. xulihang

    xulihang Active Member Licensed User

    Hi there,

    I want to show crash logs to users and let them choose whether to upload it with a crash log dialog.

    But when a b4j app crashes, it exits immediately. How to prevent it from closing so a crash log dialog can appear?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Are you returning False from Application_Error?
  3. xulihang

    xulihang Active Member Licensed User

    'Return true to allow the default exceptions handler to handle the uncaught exception.
    Sub Application_Error (Error As Exception, StackTrace As StringAs Boolean
    Return True
    End Sub
    No. I will check this out.

    Previously, I use try catch to surround the code which possibly causes crashes. But I can not cover them all.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice