diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-09-30 16:55:07 -0230 |
---|---|---|
committer | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-09-30 16:55:07 -0230 |
commit | 6573cd3c17f6e2fda07624f34872144999113872 (patch) | |
tree | e09b4abaf4e71433ea04d54cafafaac7c42af79d /src | |
parent | caf7d8b1ed7c59b7fbe87cc77a6132a9452aecc1 (diff) | |
download | RewardClaim-6573cd3c17f6e2fda07624f34872144999113872.tar.gz RewardClaim-6573cd3c17f6e2fda07624f34872144999113872.tar.bz2 RewardClaim-6573cd3c17f6e2fda07624f34872144999113872.zip |
Add an error message to the claiming just incase
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/tech/thatgravyboat/rewardclaim/ui/RewardClaimGui.kt | 5 |
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() } } } |