Make herbe process error non-fatal
This commit is contained in:
parent
a7ad16daef
commit
a71c25c2a0
|
|
@ -168,6 +168,7 @@ Fixed
|
|||
- Crash with some notification servers when the server is quitting.
|
||||
- Crash when using QtWebKit with PAC and the file has an invalid encoding.
|
||||
- Crash with the "tiramisu" notification server.
|
||||
- Crash when the "herbe" notification presenter doesn't start correctly.
|
||||
|
||||
[[v2.5.4]]
|
||||
v2.5.4 (2023-03-13)
|
||||
|
|
|
|||
|
|
@ -637,7 +637,7 @@ class HerbeNotificationAdapter(AbstractNotificationAdapter):
|
|||
if error == QProcess.ProcessError.Crashed:
|
||||
return
|
||||
name = debug.qenum_key(QProcess.ProcessError, error)
|
||||
raise Error(f'herbe process error: {name}')
|
||||
self.error.emit(f'herbe process error: {name}')
|
||||
|
||||
@pyqtSlot(int)
|
||||
def on_web_closed(self, notification_id: int) -> None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue