mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
distinguish unknown error from stderr
This commit is contained in:
parent
0a425bd21a
commit
84356e5785
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class Connection extends RawConnection {
|
|||
} else {
|
||||
$error = $this->readError(); // maybe something on stderr
|
||||
if ($error) {
|
||||
throw new ConnectException('Unknown error (' . $error . ')');
|
||||
throw new ConnectException('Unknown error (stderr: ' . $error . ')');
|
||||
} else {
|
||||
throw new ConnectException('Unknown error');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue