Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/src/commit/d7259d3b5a7a2be19e0f6bfdc40ed0f0df184e5b/libs/simple_websocket/errors.py You should set ROOT_URL correctly, otherwise the web may not work correctly.
bazarr/libs/simple_websocket/errors.py

17 lines
583 B

from wsproto.frame_protocol import CloseReason
class ConnectionError(RuntimeError): # pragma: no cover
"""Connection error exception class."""
def __init__(self, status_code=None):
self.status_code = status_code
super().__init__(f'Connection error: {status_code}')
class ConnectionClosed(RuntimeError):
"""Connection closed exception class."""
def __init__(self, reason=CloseReason.NO_STATUS_RCVD, message=None):
self.reason = reason
self.message = message
super().__init__(f'Connection closed: {reason} {message or ""}')