)]}'
{
  "commit": "48be1795a7993422cf4bce2785351f48e456dc26",
  "tree": "d020bc99b28afe51e2808f9b1fcac4cf6f552033",
  "parents": [
    "865bc9d3d8a3f793c759acc67a60dcb0c947675b"
  ],
  "author": {
    "name": "Yunze Xu",
    "email": "xyzinfernity@163.com",
    "time": "Mon Feb 19 10:46:53 2024 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Feb 19 10:46:53 2024 +0800"
  },
  "message": "Fix incorrect logs when a message failed to be decoded with the writer schema (#200)\n\n### Motivation\r\n\r\nSee\r\nhttps://github.com/apache/pulsar-client-python/blob/f9b2d168ae85f289d6ee043cd81791d569ba8844/pulsar/schema/schema_avro.py#L92C32-L92C69\r\n\r\nWhen `self._decode_bytes(msg.data(), writer_schema)` failed, the error\r\nlog is still `Failed to get schema info`, which is confusing.\r\n\r\n### Modifications\r\n\r\nModify the error message. Even if it failed at\r\n`self._get_writer_schema(topic, version)`, there would still be error\r\nlogs from the C++ client.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "480afe99a24a763f21e921183c5662f178342da1",
      "old_mode": 33188,
      "old_path": "pulsar/schema/schema_avro.py",
      "new_id": "09b341bff51ba97d6e97eabea0fceaffe518fad1",
      "new_mode": 33188,
      "new_path": "pulsar/schema/schema_avro.py"
    }
  ]
}
