New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read properties of null (reading 'FactoryTimestamp') #30
Comments
hi @dassystem, can you make sure you have current measurements in the LibreLink Up app? i have not come across this issue myself yet. :( |
Whether the application has fresh data from a client or not, the server should not crash. Not having data could have several reasons: A fresh setup, missing internet connection of the uploader, issues on the side of Abbots official servers… In these cases, certainly not the whole application should break. Unfortunately I don't know javascript very well, but I assume that we need to check for null values when loading it to the variable in index.js line 186.
An additional try catch might solve it. Happy to test it. |
@dassystem is this still an issue with the latest version? I added a few improvements to the error handling. |
Hey @timoschlueter, thanks for the mention! I'm now getting a error message in the log (which is correct!) and the application is not crashing anymore (which is even better!)
So at least this unhappy-path is working as expected and this bug issue can be closed. Thank you! |
awesome! :) |
Hi, I have the following issue, right after starting the docker-container. It seems to be connected to nightscout and the librelink cloud correctly.
The error might occure because I have no recent blood glucose values in the libre cloud. (But I plan using it in the future, since I have to switch from libre2 to libre3).
The text was updated successfully, but these errors were encountered: