Skip to content

Commit

Permalink
Fix crash when fetch myInfo API
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyin1986 committed Feb 8, 2024
1 parent 3f79e2b commit d8e2c0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fun Pluto.myInfo(
t: Throwable
) {
t.printStackTrace()
error(PlutoError.badRequest)
error?.invoke(PlutoError.badRequest)
}

override fun onResponse(
Expand Down

0 comments on commit d8e2c0a

Please sign in to comment.