Commit Graph
2 Commits
Author SHA1 Message Date
Gavin FrazarandMarek Smoliński ab91963d58 db access denied error message improvement (#16228)
* Fix matchers not being printed in err message

* Add helpful message when access is denied to db connect

* Add test for converting command errors

* Simplify error message when access to db is denied

* Update lib/client/db/dbcmd/dbcmd_test.go

Co-authored-by: Marek Smoliński <marek@goteleport.com>

* Remove unnecessary cmd.Run in test

* Fix import order

* Add full error to message

* Fix formatting of github suggestion

* Add troubleshooting link

* Update troubleshooting link to use subheading

Co-authored-by: Marek Smoliński <marek@goteleport.com>
2022-10-26 12:13:09 -07:00
STeve (Xin) Huang cf88c0a283 Capture stderr from "tsh db connect" and reformat redis error (#13843) 2022-07-05 21:25:43 +00:00