mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 18:02:54 +01:00
Fix showing error popups in GUI (#3353)
This commit is contained in:
parent
2f7e5876d3
commit
6af9e47e38
@ -29,7 +29,7 @@ object BundleGUI extends WalletGUI with JFXApp3 {
|
||||
.currentThread()
|
||||
.setUncaughtExceptionHandler((_: Thread, ex: Throwable) => {
|
||||
ex.printStackTrace()
|
||||
lazy val _ = new Alert(AlertType.Error) {
|
||||
val _ = new Alert(AlertType.Error) {
|
||||
initOwner(owner)
|
||||
title = "Unhandled exception"
|
||||
headerText = "Exception: " + ex.getClass + ""
|
||||
|
@ -36,7 +36,7 @@ object GUI extends WalletGUI with JFXApp3 {
|
||||
.currentThread()
|
||||
.setUncaughtExceptionHandler((_: Thread, ex: Throwable) => {
|
||||
ex.printStackTrace()
|
||||
lazy val _ = new Alert(AlertType.Error) {
|
||||
val _ = new Alert(AlertType.Error) {
|
||||
initOwner(owner)
|
||||
title = "Unhandled exception"
|
||||
headerText = "Exception: " + ex.getClass + ""
|
||||
|
Loading…
Reference in New Issue
Block a user