diff --git a/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt b/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt index aa30dea..7ef9160 100644 --- a/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt +++ b/app/src/main/java/com/nin0dev/vendroid/MainActivity.kt @@ -54,7 +54,13 @@ class MainActivity : Activity() { showDiscordToast("No updates available", "MESSAGE") } }, - { }) + { error -> + if (BuildConfig.DEBUG) { + e("Network error during update check", error) + } + Toast.makeText(this, "Failed to check for updates", Toast.LENGTH_SHORT).show() + } + ) stringRequest.setShouldCache(false); queue.add(stringRequest) }