Closed littleyoda closed 1 year ago
I think most of these will error out if the data isn't available. There are currently no (maybe a few?) try/except blocks.
I'm not sure if that's a design choice by @cyberjunky or if we wanted to add those blocks in everywhere.
It may make more sense to point it out in the Readme and have people who use the package catch those errors instead
@psdupvi or we must try to assign the json and return it in the client_get routine itself and add a except there. but that means a rather big change since not all calls return json. >Need to think this over
@littleyoda Can you try latest version, and let me know if this is solved? If not you can also maybe add a try: except AttributeError: around your call to catch it.
@cyberjunky This is already resolved. See #157
In the first days of using a new device, the HRV data is not available. During this time, the library unfortunately crashes with the following error message.