Fixed push not showing errors

This commit is contained in:
Abdelilah El Aissaoui 2022-01-31 23:45:35 +01:00
parent 0091f3abb8
commit a4ce691679

View file

@ -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
}