Skip to content

Commit

Permalink
Added option to copy MP upload game error to clipboard for debugging y…
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 committed Mar 2, 2025
1 parent 63d02c9 commit 01ebfc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/com/unciv/ui/screens/worldscreen/WorldScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,9 @@ class WorldScreen(
launchOnGLThread {
val cantUploadNewGamePopup = Popup(this@WorldScreen)
cantUploadNewGamePopup.addGoodSizedLabel(message).row()
cantUploadNewGamePopup.addButton("Copy to clipboard") {
Gdx.app.clipboard.contents = ex.stackTraceToString()
}
cantUploadNewGamePopup.addCloseButton()
cantUploadNewGamePopup.open()
}
Expand Down

0 comments on commit 01ebfc5

Please sign in to comment.