Skip to content

Fix nightscout crashes after failed APNs delivery - #8292

Closed
AndyLow91 wants to merge 3 commits into
nightscout:devfrom
Nightscout-Pro:upstream/wip/nspro/dev
Closed

Fix nightscout crashes after failed APNs delivery#8292
AndyLow91 wants to merge 3 commits into
nightscout:devfrom
Nightscout-Pro:upstream/wip/nspro/dev

Conversation

@AndyLow91

Copy link
Copy Markdown
Member

Updated the loop.js file to handle the error more gracefully and display an error message to the user rather than crashing the Nightscout instance.

Updated to stop Nightscout crashing if APNs response is not received well from Apple.
@AndyLow91

Copy link
Copy Markdown
Member Author

tested by creating a new image on dockerhub with a sample of NSPro users. Their sites are no longer crashing and are handling the error gracefully, displaying to the user when the problem exists.

@AndyLow91

Copy link
Copy Markdown
Member Author

@bewest @sulkaharo - I'm not sure who has the correct level of access to merge these PR's. Any Insights?

@bewest

bewest commented Nov 24, 2024

Copy link
Copy Markdown
Member

Looks good, can we move the workflow to a different branch/PR?

@bewest bewest mentioned this pull request Nov 25, 2024
@ryceg ryceg added the aps-loop label May 23, 2025
@ryceg

ryceg commented May 23, 2025

Copy link
Copy Markdown

Can this be closed / merged?

@bewest bewest closed this May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants