issues
search
Stog
/
homebridge-fronius-inverter
A homebridge plugin to pull Fronius solar inverter data into HomeKit as a light sensor accessory.
5
stars
1
forks
source link
Added timeout and return null for errors
#5
Closed
longzheng
closed
4 years ago
longzheng
commented
4 years ago
Added a timeout for 2 seconds, otherwise I think axios has default timeout of 0 (infinite)
Added a
return null
for any HTTP errors, otherwise doesn't return promise
return null
for any HTTP errors, otherwise doesn't return promise