From a4ce69167922fc2599a3dada0473c69a4fb1ee95 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Mon, 31 Jan 2022 23:45:35 +0100 Subject: [PATCH] Fixed push not showing errors --- src/main/kotlin/app/viewmodels/MenuViewModel.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/kotlin/app/viewmodels/MenuViewModel.kt b/src/main/kotlin/app/viewmodels/MenuViewModel.kt index f4d845e..db222e0 100644 --- a/src/main/kotlin/app/viewmodels/MenuViewModel.kt +++ b/src/main/kotlin/app/viewmodels/MenuViewModel.kt @@ -19,11 +19,7 @@ class MenuViewModel @Inject constructor( } fun push() = tabState.safeProcessing { git -> - try { - remoteOperationsManager.push(git) - } catch (ex: Exception) { - ex.printStackTrace() - } + remoteOperationsManager.push(git) return@safeProcessing RefreshType.ONLY_LOG }