add missing on_close parameters
This commit is contained in:
parent
90a831650a
commit
4c38c8ff0c
1 changed files with 2 additions and 1 deletions
|
@ -331,9 +331,10 @@ def on_error(ws, error):
|
||||||
logger.error(error)
|
logger.error(error)
|
||||||
_error.set()
|
_error.set()
|
||||||
|
|
||||||
def on_close(ws):
|
def on_close(ws, status_code, msg):
|
||||||
# send(config['CHANNEL'], "...shutdown initiated...")
|
# send(config['CHANNEL'], "...shutdown initiated...")
|
||||||
logger.debug("on_close: ### CLOSED ###")
|
logger.debug("on_close: ### CLOSED ###")
|
||||||
|
logger.debug(status_code, msg)
|
||||||
_connected.clear()
|
_connected.clear()
|
||||||
|
|
||||||
def on_open(ws):
|
def on_open(ws):
|
||||||
|
|
Loading…
Reference in a new issue