fix 404 error output
This commit is contained in:
parent
aded09f432
commit
c9120325b0
@ -1197,7 +1197,8 @@ sub LGTV_WebOS_WriteReadings {
|
||||
}
|
||||
elsif ( $decode_json->{type} eq 'error' ) {
|
||||
|
||||
$response = "error - $decode_json->{error}";
|
||||
$response = "error - $decode_json->{error}"
|
||||
if ( $decode_json->{error} ne '404 no such service or method' );
|
||||
|
||||
if ( $decode_json->{error} eq '401 insufficient permissions'
|
||||
or $decode_json->{error} eq
|
||||
|
Loading…
x
Reference in New Issue
Block a user