)]}'
{
  "commit": "448a5046c9fd70b749e8dac31f395c90498b027e",
  "tree": "b81097f433ee8fef4d6fca8abb8343b28289036d",
  "parents": [
    "1e7ebb8fa8be3b28664c0eab35574f4da2364c49"
  ],
  "author": {
    "name": "Zike Yang",
    "email": "zike@apache.org",
    "time": "Thu Apr 27 14:33:28 2023 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Apr 27 14:33:28 2023 +0800"
  },
  "message": "[Improve] Add error handling for the message listener (#319)\n\n## Motivation\r\nCurrently, there is no error handling for the message listener. If there are any errors thrown from the user\u0027s listener, the program will crash.\r\n\r\n## Modification\r\n* Add error handling for the message listener. The client won\u0027t crash the program if there are any errors in the user function. Instead, it will log as the error.\r\n* Add LogUtils to the internal native code.\r\n* Add `GetTopic` and `GetSubscriptionName` for the internal native consumer.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bc20b5ccb5e49e4ab61beeca6edc7f13188dfb36",
      "old_mode": 33188,
      "old_path": "src/Client.h",
      "new_id": "3755b6ca5d8a99325002e276f4341ce3dc5e5516",
      "new_mode": 33188,
      "new_path": "src/Client.h"
    },
    {
      "type": "modify",
      "old_id": "f5c3e04f3b310d7a70509f9269dcb8f10d4a8298",
      "old_mode": 33188,
      "old_path": "src/Consumer.cc",
      "new_id": "328da8984f228da0ba4f5f162df03acede03bbbe",
      "new_mode": 33188,
      "new_path": "src/Consumer.cc"
    },
    {
      "type": "modify",
      "old_id": "731ec975acc02a3ad753a022613d60a12cea5401",
      "old_mode": 33188,
      "old_path": "src/Consumer.h",
      "new_id": "1574fabbf7fa698268c983ced82558bae6fb0712",
      "new_mode": 33188,
      "new_path": "src/Consumer.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6e3180ee9fc8e5b4ce9f43e973f7685fadcd4586",
      "new_mode": 33188,
      "new_path": "src/LogUtils.h"
    },
    {
      "type": "modify",
      "old_id": "7a5621de388dc988e20a7228a46b1a6c040ccc00",
      "old_mode": 33188,
      "old_path": "tests/end_to_end.test.js",
      "new_id": "dc382cf66a86197599da7fa37600850e7d9b0659",
      "new_mode": 33188,
      "new_path": "tests/end_to_end.test.js"
    }
  ]
}
