top | item 45923205

(no title)

mholt | 3 months ago

Make Error Messages Great Again

(Sorry, I hate that it has a political reference, but it's really how I feel about this. How the heck is that error message supposed to mean anything to anyone?)

discuss

order

trevithick|3 months ago

Sometimes the message is different. I think it depends on the recipient server. Trying to scp to a dropbear ssh server on a router gives

   sh: /opt/libexec/sftp-server: not found
   scp: Connection closed
The -O resolution works.

m0dest|3 months ago

Yeah, regardless of how one feels about the design decision to fail without fallback, the messaging seems like an oversight.

1970-01-01|3 months ago

Yes, please and thanks. And I want a single line explaining how it is failing so I can copy paste it into Google and make the trivial fix. I don't want the beginning of a novel. Java was famous for dumping not only the relevant error message but it's entire family history since birth.