Skip to content

Commit

Permalink
使用escape_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Tian-que committed Feb 26, 2024
1 parent 03c3bc4 commit 22f9bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot/adapters/kaiheila/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def json_to_event(
log("DEBUG", "Event Parser Error", e)
else:
event = type_validate_python(Event, json_data)
log("DEBUG", str(model_dump(event)).replace("<","\<"))
log("DEBUG", escape_tag(str(model_dump(event))))
return event
except Exception as e:
log(
Expand Down

0 comments on commit 22f9bf9

Please sign in to comment.