mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

It returns error messaage like this now: '{"errorCode":100,"message":"Key not found","cause":"/1/pants","index":10}' The commit trims '/1' prefix from cause field if exists. This is a hack to make it display well. It is correct because all error causes that contain Path puts Path at the head of the string.