{"action":"created","issue":{"url":"https://api.github.com/repos/mattn/go-oci8/issues/260","repository_url":"https://api.github.com/repos/mattn/go-oci8","labels_url":"https://api.github.com/repos/mattn/go-oci8/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/mattn/go-oci8/issues/260/comments","events_url":"https://api.github.com/repos/mattn/go-oci8/issues/260/events","html_url":"https://github.com/mattn/go-oci8/issues/260","id":365696266,"node_id":"MDU6SXNzdWUzNjU2OTYyNjY=","number":260,"title":"Oracle Errors","user":{"login":"kog4096","id":9774049,"node_id":"MDQ6VXNlcjk3NzQwNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/9774049?v=4","gravatar_id":"","url":"https://api.github.com/users/kog4096","html_url":"https://github.com/kog4096","followers_url":"https://api.github.com/users/kog4096/followers","following_url":"https://api.github.com/users/kog4096/following{/other_user}","gists_url":"https://api.github.com/users/kog4096/gists{/gist_id}","starred_url":"https://api.github.com/users/kog4096/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kog4096/subscriptions","organizations_url":"https://api.github.com/users/kog4096/orgs","repos_url":"https://api.github.com/users/kog4096/repos","events_url":"https://api.github.com/users/kog4096/events{/privacy}","received_events_url":"https://api.github.com/users/kog4096/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-02T00:44:05Z","updated_at":"2018-10-02T10:31:33Z","closed_at":null,"author_association":"NONE","body":"I'm trying to get the actual Oracle error (code/text) back from a failed connection, but that doesn't seem to be happening. Can this be done? Here is my sample code:\r\n```\r\ndb, err := sql.Open(\"oci8\", connectStr)\r\nif err != nil {\r\n\treturn nil, err\r\n}\r\nerr = db.Ping()\r\nif err != nil {\r\n\tdb.Close()\r\n\treturn nil, err\r\n}\r\n```\r\nIn the case of a bad user/password, db.Ping() throws an error of \"ping failed\", but the actual reason is unknown unless I connect to the database with another client. Is this something that I'm doing incorrectly?"},"comment":{"url":"https://api.github.com/repos/mattn/go-oci8/issues/comments/426226073","html_url":"https://github.com/mattn/go-oci8/issues/260#issuecomment-426226073","issue_url":"https://api.github.com/repos/mattn/go-oci8/issues/260","id":426226073,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjIyNjA3Mw==","user":{"login":"MichaelS11","id":14301945,"node_id":"MDQ6VXNlcjE0MzAxOTQ1","avatar_url":"https://avatars1.githubusercontent.com/u/14301945?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelS11","html_url":"https://github.com/MichaelS11","followers_url":"https://api.github.com/users/MichaelS11/followers","following_url":"https://api.github.com/users/MichaelS11/following{/other_user}","gists_url":"https://api.github.com/users/MichaelS11/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelS11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelS11/subscriptions","organizations_url":"https://api.github.com/users/MichaelS11/orgs","repos_url":"https://api.github.com/users/MichaelS11/repos","events_url":"https://api.github.com/users/MichaelS11/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelS11/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T10:31:33Z","updated_at":"2018-10-02T10:31:33Z","author_association":"CONTRIBUTOR","body":"Not that I am aware of at this time.\r\n\r\n@mattn \r\n\r\nAny thoughts on this? Should I add log? Or have another idea on what you would like to see?"}}
{"actor":{"display_login":"MichaelS11"}}