You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. It's sort of fixed in 0.0.6-alpha in that the exception info is prettied up ... but I need to make a change to have it only show in cases if --debug is set.
e.g.
$ terminus wp db query --site=site_I_am_not_a_team_member_of --env=live < show-tables.sql
Fatal error: Uncaught exception 'Exception' with message 'No site exists with this name' in phar:///usr/local/bin/terminus/php/Terminus/SiteFactory.php:46
Stack trace:
#0 phar:///usr/local/bin/terminus/php/Terminus/SiteFactory.php(38): Terminus\SiteFactory->getSite('site_I_am_not_a...')
#1 phar:///usr/local/bin/terminus/php/commands/wp.php(36): Terminus\SiteFactory::instance('site_I_am_not_a...')
#2 [internal function]: WPCLI_Command->__invoke(Array, Array)
#3 phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/CommandFactory.php(35): call_user_func(Array, Array, Array)
#4 [internal function]: Terminus\Dispatcher\CommandFactory::Terminus\Dispatcher{closure}(Array, Array)
#5 phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/Subcommand.php(220): call_user_func(Object(Closure), Array, Array)
#6 phar:///usr/local/bin/terminus/php/Terminus/Runner.php(68): Terminus\Dispatcher\Subcommand->invoke(Array, Array, Array)
#7 phar:///usr/local/bin/terminus/php/Terminus/Runner.php(75): Terminus\Runner->run_command(Array, Array) in phar:///usr/local/bin/terminus/php/Terminus/SiteFactory.php on line 46
The text was updated successfully, but these errors were encountered: