Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
Add try catch when making requests
Acho Arnoldb9ffe82c5699
diff --git a/android/app/src/main/java/com/httpsms/LogtailTree.kt b/android/app/src/main/java/com/httpsms/LogtailTree.ktindex 94a0d201..79872b7e 100644--- a/android/app/src/main/java/com/httpsms/LogtailTree.kt+++ b/android/app/src/main/java/com/httpsms/LogtailTree.kt@@ -46,7 +46,10 @@ class LogtailTree: Timber.DebugTree() {.build()Thread {- client.newCall(request).execute()+ try {+ client.newCall(request).execute()+ } catch(ex: Exception) {+ }}.start()}diff --git a/web/.env.production b/web/.env.productionindex 0044066a..a572cd45 100644--- a/web/.env.production+++ b/web/.env.production@@ -4,5 +4,5 @@ APP_URL=https://httpsms.comAPP_NAME="Http SMS"APP_GITHUB_URL=https://github.com/NdoleStudio/httpsmsAPP_DOCUMENTATION_URL=https://api.httpsms.com-APP_DOWNLOAD_URL=https://github.com/NdoleStudio/httpsms+APP_DOWNLOAD_URL=https://github.com/NdoleStudio/httpsms/releases/download/v0.0.1/HttpSms.apkAPP_ENV=production