test: cleanup initial error handling
This commit is contained in:
parent
13de67f570
commit
82907c73a3
14
CHANGELOG.md
14
CHANGELOG.md
@ -1,4 +1,14 @@
|
||||
### test: changed published gateway informations (HEAD -> patch_mucki)
|
||||
### test: fix wifi status if is_connected (HEAD -> patch_mucki)
|
||||
>Mon, 23 Oct 2023 22:04:31 +0200
|
||||
|
||||
>Author: Sebastian (em@ail.tld)
|
||||
|
||||
>Commiter: Sebastian (em@ail.tld)
|
||||
|
||||
|
||||
|
||||
|
||||
### test: changed published gateway informations (origin/patch_mucki)
|
||||
>Sat, 21 Oct 2023 20:21:31 +0200
|
||||
|
||||
>Author: Sebastian (em@ail.tld)
|
||||
@ -8,7 +18,7 @@
|
||||
|
||||
|
||||
|
||||
### test: gateway readings changed by gardena (origin/patch_mucki)
|
||||
### test: gateway readings changed by gardena
|
||||
>Thu, 12 Oct 2023 21:52:51 +0200
|
||||
|
||||
>Author: Sebastian (em@ail.tld)
|
||||
|
@ -628,7 +628,9 @@ sub ErrorHandling {
|
||||
if ( $param->{code} == 400 ) {
|
||||
if ($decode_json) {
|
||||
if ( ref( $decode_json->{errors} ) eq "ARRAY"
|
||||
&& defined( $decode_json->{errors} ) )
|
||||
&& exists( $decode_json->{errors} ) )
|
||||
# replace defined with exists
|
||||
# && defined( $decode_json->{errors} ) )
|
||||
{
|
||||
readingsBulkUpdate(
|
||||
$dhash,
|
||||
|
@ -1,2 +1,2 @@
|
||||
UPD 2023-10-23_22:03:43 49976 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2023-10-25_22:16:11 50086 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2023-10-03_22:40:44 126409 FHEM/74_GardenaSmartDevice.pm
|
||||
|
Loading…
x
Reference in New Issue
Block a user