Actually, I was able to do better logs with much shorter code. I made an app which only send a short text to test server after the button is pushed.
I did similar apps with AppInventor and Kodular and tested the app without WiFi enabled. The other app crashes without error, and the other app only gives error-message.
Program compiled with App Inventor:
START PROGRAM WITHOUT WIFI AND IT CRASHES WHEN THE BUTTON IS PUSHED TO SEND JSON
08-10 08:53:38.196 1191 1191 E RecyclerView: No adapter attached; skipping layout
08-10 08:54:18.985 248 248 E DumpTunnel: finding regDump() failed
08-10 08:54:19.167 30058 30058 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:54:19.168 30058 30058 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:54:19.650 30058 30058 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:54:19.651 30058 30058 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:54:19.734 248 248 E DumpTunnel: finding regDump() failed
08-10 08:54:19.750 30058 30074 E GED : Failed to get GED Log Buf [GPU_FENCE], err(0)
08-10 08:54:19.788 30058 30074 E GED : Failed to get GED Log Buf [fence_trace], err(0)
08-10 08:54:19.802 30058 30074 E GED : Failed to get GED Log Buf [fence_trace], err(0)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: FATAL EXCEPTION: main
08-10 08:54:22.912 30058 30058 E AndroidRuntime: Process: appinventor.ai_kinnunen_jmk.justJSON, PID: 30058
08-10 08:54:22.912 30058 30058 E AndroidRuntime: java.util.MissingFormatArgumentException: Format specifier '%s'
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at java.util.Formatter.format(Formatter.java:2522)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at java.util.Formatter.format(Formatter.java:2458)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at java.lang.String.format(String.java:2770)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at com.google.appinventor.components.runtime.util.ErrorMessages.formatMessage(ErrorMessages.java:701)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at com.google.appinventor.components.runtime.Form$5.run(Form.java:1015)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:790)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6548)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
08-10 08:54:22.912 30058 30058 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
08-10 08:54:22.972 248 248 E DumpTunnel: finding regDump() failed
08-10 08:54:23.485 248 248 E DumpTunnel: finding regDump() failed
08-10 08:54:23.596 514 573 E DumpTunnel: finding regDump() failed
Program compiled with Kodular:
START PROGRAM WITHOUT WIFI AND IT GIVES 1103 ERROR MESSAGE WHEN THE BUTTON IS PUSHED TO SEND JSON
08-10 08:56:26.905 1191 1191 E RecyclerView: No adapter attached; skipping layout
08-10 08:56:47.216 248 248 E DumpTunnel: finding regDump() failed
08-10 08:56:47.637 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:47.637 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:47.652 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:47.652 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:48.221 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:48.221 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:48.566 248 248 E DumpTunnel: finding regDump() failed
08-10 08:56:48.585 30111 30126 E GED : Failed to get GED Log Buf [GPU_FENCE], err(0)
08-10 08:56:48.612 30111 30129 E KodularBranding: java.net.UnknownHostException: Unable to resolve host "api.creator.kodular.io": No address associated with hostname
08-10 08:56:48.621 30111 30131 E KodularCommission: java.net.UnknownHostException: Unable to resolve host "api.creator.kodular.io": No address associated with hostname
08-10 08:56:48.625 30111 30126 E GED : Failed to get GED Log Buf [fence_trace], err(0)
08-10 08:56:48.639 30111 30126 E GED : Failed to get GED Log Buf [fence_trace], err(0)
08-10 08:56:51.880 30111 30111 E Form : Form Screen1 ErrorOccurred, errorNumber = 1103, componentType = Web, functionName = PostText, messages = Unable to post or put the text "settii" with the specified URL: http://ptsv2.com/t/odhqh-1597045061/post
08-10 08:56:51.888 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:51.889 30111 30111 E libc : Access denied finding property "vs.wt_current_version"
08-10 08:56:51.916 248 248 E DumpTunnel: finding regDump() failed