Skip to content

Commit

Permalink
fixed description func
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorofeev committed Jan 14, 2021
1 parent a66cc11 commit e5b29b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ internal suspend fun <T> callbackToCoroutine(callbackCall: ((T?, NSError?) -> Un
internal fun NSError?.toException(): Exception {
if (this == null) return kotlin.NullPointerException()

return Exception(this.description)
return Exception(this.description())
}

0 comments on commit e5b29b3

Please sign in to comment.