Skip to content

Commit

Permalink
Solved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorNarvaez committed Jun 29, 2023
1 parent 53e9b31 commit a89e419
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ internal class OmhStorageTaskImpl<T>(private val task: suspend () -> OmhResult<T
}

private suspend fun executeFailure(e: Exception) = withContext(Dispatchers.Main) {
onFailure?.invoke(e)
onFailure?.invoke(e).also { e.printStackTrace() }
}

private suspend fun executeSuccess(data: T) {
Expand Down

0 comments on commit a89e419

Please sign in to comment.