Before, we didn't document that an existing tag with the same name as the errorTag parameter of the JSON writer would be retained. This documents it. It also fixes a bug where that key is not literally "error", for example, adding a tag named "exception".
I backfilled tests and adjusted benchmarks to make sure the result isn't worse than before.
Before, we didn't document that an existing tag with the same name as the
errorTag
parameter of the JSON writer would be retained. This documents it. It also fixes a bug where that key is not literally "error", for example, adding a tag named "exception".I backfilled tests and adjusted benchmarks to make sure the result isn't worse than before.
Before
After