mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-13 09:12:19 +00:00
FHEM/HttpUtils.pm: fix error parameter (Forum #129212)
git-svn-id: https://svn.fhem.de/fhem/trunk@26411 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e45b596591
commit
bf62cf886b
@ -520,9 +520,10 @@ HttpUtils_Connect2NonblockingSSL($$)
|
||||
}
|
||||
};
|
||||
if($@) {
|
||||
Log3 $hash, $hash->{loglevel}, $@;
|
||||
my $err = $@;
|
||||
Log3 $hash, $hash->{loglevel}, $err;
|
||||
HttpUtils_Close($hash);
|
||||
return $hash->{callback}($hash, $@);
|
||||
return $hash->{callback}($hash, $err);
|
||||
}
|
||||
|
||||
$hash->{FD} = $hash->{conn}->fileno();
|
||||
|
Loading…
x
Reference in New Issue
Block a user