GUI popup for uncaught asyncio loop exceptions

This commit is contained in:
miruka
2019-12-26 10:05:01 -04:00
parent 511681ae4d
commit f977d9acf2
5 changed files with 47 additions and 8 deletions

View File

@@ -16,12 +16,12 @@ BoxPopup {
property string errorType
property var errorArguments: []
property string message: ""
property string traceback: ""
HScrollableTextArea {
text: traceback || qsTr("No traceback available")
text: [message, traceback].join("\n\n") || qsTr("No info available")
area.readOnly: true
Layout.fillWidth: true