amoussard / sftp-deployment

Spend less time managing file transfers and more time coding. SFTP support for Atom.io to send and receive files directly in your server.
MIT License
76 stars 44 forks source link

Add new Remote System Error Exception and use for stderr exceptions #95

Closed IkeLutra closed 8 years ago

IkeLutra commented 9 years ago

Fixes this issue https://github.com/amoussard/sftp-deployment/issues/94

Basic issue is that you might get something stderr which is irrelevant to command run and thus want to display to user to allow debugging. I suspect there might be other places where this type of generic error would be useful but haven't looked.

Let me know if you want me to change anything or thought of a better way to implement this?