php-ssh icon indicating copy to clipboard operation
php-ssh copied to clipboard

Make RuntimeError based on error code

Open nicholasruunu opened this issue 10 years ago • 3 comments

I made this pull request for a fork of this project: https://github.com/elfet/php-ssh/pull/1

Is this something that would be interesting for this project?

nicholasruunu avatar Nov 17 '14 00:11 nicholasruunu

Interesting input. We must be careful as it changes the subsystem's behavior. My first reaction would be to keep the actual behavior by default and to provide a simple way to activate this output code trick.

Herzult avatar Nov 18 '14 09:11 Herzult

That sounds reasonable.

Sent from my iPhone

On 18 Nov 2014, at 10:38, Antoine Hérault [email protected] wrote:

Interesting input. We must be careful as it changes the subsystem's behavior. My first reaction would be to keep the actual behavior by default and to provide a simple way to activate this output code trick.

— Reply to this email directly or view it on GitHub.

nicholasruunu avatar Nov 18 '14 09:11 nicholasruunu

What's the status of this issue? I am really interested to have this in Herzult/php-ssh because I am having a problem right now.

After executing npm install via SSH2, an exception is thrown because it assumes an error has occured (which is not the case).

dirkluijk avatar Feb 03 '15 08:02 dirkluijk