We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi.
For some errors such incorrect permission of key, wrong credentials, SSH package put a "RuntimeException"
I test with try .. catch but not work. Programan stop. I need continue write log and send email.
try { SSH::run(['hostname -f']); // for test purposes } catch (RuntimeException $e) { echo "Error".PHP_EOL; } // DO something also if SSH fails
Apreciate help
The text was updated successfully, but these errors were encountered:
You could try catching any kind of exception to see if that gets your better results:
try { SSH::run(['hostname -f']); } catch (\Exception $e) { // }
Sorry, something went wrong.
No branches or pull requests
Hi.
For some errors such incorrect permission of key, wrong credentials, SSH package put a "RuntimeException"
I test with try .. catch but not work. Programan stop.
I need continue write log and send email.
Apreciate help
The text was updated successfully, but these errors were encountered: