Skip to content

Commit

Permalink
加个log
Browse files Browse the repository at this point in the history
  • Loading branch information
sky130 authored Jul 20, 2024
1 parent 9b8bfca commit 1b71e1d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ object AppRepository {
_sceneFlow.emit(scenes)
}
}
}.onFailure {
"加载情景失败".toast()
}.onFailure { error ->
"加载情景失败\${error.toString()}\${error.message}".toast()
}.onNull {
"加载情景失败".toast()
}.onEach {
Expand Down Expand Up @@ -215,4 +215,4 @@ object AppRepository {
}
}
}
}
}

0 comments on commit 1b71e1d

Please sign in to comment.