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