{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3970","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3970/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3970/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3970/events","html_url":"https://github.com/cockroachdb/cockroach/pull/3970","id":128849997,"number":3970,"title":"Replace pErr.GoError().Error() with pErr.String()","user":{"login":"kkaneda","id":8353550,"avatar_url":"https://avatars.githubusercontent.com/u/8353550?v=3","gravatar_id":"","url":"https://api.github.com/users/kkaneda","html_url":"https://github.com/kkaneda","followers_url":"https://api.github.com/users/kkaneda/followers","following_url":"https://api.github.com/users/kkaneda/following{/other_user}","gists_url":"https://api.github.com/users/kkaneda/gists{/gist_id}","starred_url":"https://api.github.com/users/kkaneda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkaneda/subscriptions","organizations_url":"https://api.github.com/users/kkaneda/orgs","repos_url":"https://api.github.com/users/kkaneda/repos","events_url":"https://api.github.com/users/kkaneda/events{/privacy}","received_events_url":"https://api.github.com/users/kkaneda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-26T15:14:53Z","updated_at":"2016-01-26T18:18:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/3970","html_url":"https://github.com/cockroachdb/cockroach/pull/3970","diff_url":"https://github.com/cockroachdb/cockroach/pull/3970.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/3970.patch"},"body":"This is to eliminate the use of `GoError()`. Also, `pErr.Message` includes txn information that `GoError().Error()` doesn't have (for `TransactionRetryError`, etc.).\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/cockroachdb/cockroach/3970)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/175154268","html_url":"https://github.com/cockroachdb/cockroach/pull/3970#issuecomment-175154268","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3970","id":175154268,"user":{"login":"bdarnell","id":160562,"avatar_url":"https://avatars.githubusercontent.com/u/160562?v=3","gravatar_id":"","url":"https://api.github.com/users/bdarnell","html_url":"https://github.com/bdarnell","followers_url":"https://api.github.com/users/bdarnell/followers","following_url":"https://api.github.com/users/bdarnell/following{/other_user}","gists_url":"https://api.github.com/users/bdarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/bdarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdarnell/subscriptions","organizations_url":"https://api.github.com/users/bdarnell/orgs","repos_url":"https://api.github.com/users/bdarnell/repos","events_url":"https://api.github.com/users/bdarnell/events{/privacy}","received_events_url":"https://api.github.com/users/bdarnell/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T18:18:11Z","updated_at":"2016-01-26T18:18:11Z","body":"LGTM"}}