challo2018 / LoxBerry-Plugin-Vitoconnect

LoxBerry Plugin to access Viessmann API
Apache License 2.0
3 stars 3 forks source link

Adapted logging to the proposed loxberry plugin PHP standard. #7

Closed jo-math closed 1 year ago

jo-math commented 1 year ago

See https://wiki.loxberry.de/entwickler/entwicker_tipps_und_tricks/loxberry_logging_tips_and_tricks . Introduced improved error handling, as there were PHP systems warnings in certain conditions. If response code is not 4xx or 5xx, the data should not be interpreted, as the error contains error data.