edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

CLI prints error logs about things that are not errors

Open fmoor opened this issue 10 months ago • 0 comments

  • EdgeDB CLI Version: 7.1.0-dev.1297+dfa6787 AND 7.0.3+83ce17b
  • OS Version: 22.04.1-Ubuntu

It is not an error that a password is required. It seems this message should not printed. There are similar errors printed when listing linked instances that are unreachable.

Steps to Reproduce:

$ gel instance link ... bare_metal_instance
Trusting unknown server certificate: SHA1:57a253c07c568c91c53db0aae359d34b3272accb
[2025-02-28T18:27:28Z ERROR gel_tokio::raw::connection] Connection error: PasswordRequired: Password required for the specified user/host
Connection error: Error(Inner { code: 117571328, messages: ["Password required for the specified user/host"], error: None, headers: {}, fields: {} })
Password for 'admin':
Trusting unknown server certificate: SHA1:57a253c07c568c91c53db0aae359d34b3272accb
Successfully linked to remote instance. To connect run:
  gel -I bare_metal_instance

fmoor avatar Feb 28 '25 18:02 fmoor