Move hideErrorTypes & showError() to PythonBridge

This commit is contained in:
miruka
2020-08-03 01:19:08 -04:00
parent 040e966d27
commit c813e92ac7
9 changed files with 24 additions and 25 deletions

View File

@@ -61,7 +61,7 @@ HBox {
type.startsWith("Matrix") ?
text = qsTr("Error contacting server: %1").arg(type) :
utils.showError(type, traceback, uuid)
py.showError(type, traceback, uuid)
errorMessage.text = text
})

View File

@@ -33,7 +33,7 @@ SignInBase {
type === "MatrixUserDeactivated" ?
txt = qsTr("This account was deactivated") :
utils.showError(type, traceback, uuid)
py.showError(type, traceback, uuid)
page.errorMessage.text = txt
},