Skip to content

Commit

Permalink
fix: xunfei ws error log
Browse files Browse the repository at this point in the history
  • Loading branch information
zhayujie committed Aug 26, 2023
1 parent 36b6cc5 commit a64d7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/xunfei/xunfei_spark_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def __init__(self, reply, usage=None, is_end=False):

# 收到websocket错误的处理
def on_error(ws, error):
logger.error("[XunFei] error:", error)
logger.error(f"[XunFei] error: {str(error)}")


# 收到websocket关闭的处理
Expand Down

0 comments on commit a64d7c4

Please sign in to comment.