Hide popup for Python 3.7 pointless SSLError

This commit is contained in:
miruka 2020-06-02 19:07:12 -04:00
parent 283d2235dc
commit fdaf7089ab
3 changed files with 14 additions and 12 deletions

View File

@ -12,13 +12,14 @@ and this project adheres to
### Added ### Added
- `markRoomReadMsecDelay` to configure how long in milliseconds Mirage will - `markRoomReadMsecDelay` setting to configure how long in milliseconds Mirage
wait before marking a focused room as read, defaults to `200` will wait before marking a focused room as read, defaults to `200`
### Changed ### Changed
- **Unread message/highlight counters**: - **Unread message/highlight counters**:
- The counters are now implemented in a cross-client, persistent way - The counters are now implemented in a cross-client, persistent way,
and respect configured push rules for your account
- Read receipts will be sent to the server to mark rooms as read - Read receipts will be sent to the server to mark rooms as read
- While an E2E key import operation is running, prevent accidentally closing - While an E2E key import operation is running, prevent accidentally closing
@ -50,14 +51,18 @@ and this project adheres to
cancel any running import operation cancel any running import operation
- Fix Python pickling error when trying to redecrypt events after importing - Fix Python pickling error when trying to redecrypt events after importing
E2E keys (#50) E2E keys ([#50](https://github.com/mirukana/mirage/issues/50))
- Fix hiding `socket.gaierror` error popups that appeared when
the internet connection dropped
- Handle Matrix 502 errors returned when trying to invite a user with an - Handle Matrix 502 errors returned when trying to invite a user with an
incorrect or unresponsive server in their ID incorrect or unresponsive server in their ID
- Correctly hide `socket.gaierror` error popups that appear when the
internet connection drops
- Hide popups for pointless
`ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify`
exceptions that occur in the Flatpak releases due to a Python 3.7 bug
## 0.5.0 ## 0.5.0

View File

@ -62,10 +62,7 @@ QtObject {
console.error(`python: ${sourceIndication}\n${traceback}`) console.error(`python: ${sourceIndication}\n${traceback}`)
if (window.hideErrorTypes.has(type)) { if (window.hideErrorTypes.has(type)) {
console.info( console.info("Not showing popup for ignored error type " + type)
"Not showing GUI popup for error type " + type +
"due to user choice"
)
return return
} }

View File

@ -42,7 +42,7 @@ ApplicationWindow {
property var theme: null property var theme: null
property var hideErrorTypes: new Set(["gaierror"]) property var hideErrorTypes: new Set(["gaierror", "SSLError"])
readonly property var visibleMenus: ({}) readonly property var visibleMenus: ({})
readonly property var visiblePopups: ({}) readonly property var visiblePopups: ({})