summaryrefslogtreecommitdiff
path: root/src/main/kotlin/tech/thatgravyboat/rewardclaim
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/tech/thatgravyboat/rewardclaim')
-rw-r--r--src/main/kotlin/tech/thatgravyboat/rewardclaim/ui/RewardClaimGui.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/kotlin/tech/thatgravyboat/rewardclaim/ui/RewardClaimGui.kt b/src/main/kotlin/tech/thatgravyboat/rewardclaim/ui/RewardClaimGui.kt
index acdc2f7..ad22f8c 100644
--- a/src/main/kotlin/tech/thatgravyboat/rewardclaim/ui/RewardClaimGui.kt
+++ b/src/main/kotlin/tech/thatgravyboat/rewardclaim/ui/RewardClaimGui.kt
@@ -261,8 +261,9 @@ class RewardClaimGui(private val id: String) : WindowScreen() {
CookieManager.setDefault(null)
restorePreviousScreen()
}
- } catch (ignored: Exception) {
- //IGNORED
+ } catch (e: Exception) {
+ errorPopup("Error: " + e.message)
+ e.printStackTrace()
}
}
}