HttpUtils.pm: return in eval leaves only the eval, not the sub (Forum #129230)
git-svn-id: https://svn.fhem.de/fhem/trunk@26420 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -519,6 +519,7 @@ HttpUtils_Connect2NonblockingSSL($$)
|
||||
"$! ".($SSL_ERROR ? $SSL_ERROR : IO::Socket::SSL::errstr()));
|
||||
}
|
||||
};
|
||||
return if(!$hash->{conn}); # HttpClose was called in the EVAL
|
||||
if($@) {
|
||||
my $err = $@;
|
||||
Log3 $hash, $hash->{loglevel}, $err;
|
||||
|
||||
Reference in New Issue
Block a user