Skip to content

Rewrite the getVersion code to catch errors and catch request failing. - #107

Merged
MCMi460 merged 1 commit into
MCMi460:developmentfrom
HotaruBlaze:getVersion-Rewrite
Oct 31, 2023
Merged

MCMi460 merged 1 commit into
MCMi460:developmentfrom
HotaruBlaze:getVersion-Rewrite

Conversation

@HotaruBlaze

@HotaruBlaze HotaruBlaze commented Sep 10, 2023 •

Copy link
Copy Markdown
Contributor

Rewrites getVersion for NSO-RPC getting the version from app store, because sometimes when the request fails, the app errors due to r is not defined.

This just makes sure that r is valid, and also logging what the errors were for better diagnostics as well as fixes the fallback of the text prompt.


Image from the discord showing the issue in question.
image

@MCMi460
MCMi460 merged commit ab24d94 into MCMi460:development Oct 31, 2023
@MCMi460

MCMi460 commented Oct 31, 2023

Copy link
Copy Markdown
Owner

Very nice, thank you!

@HotaruBlaze
HotaruBlaze deleted the getVersion-Rewrite branch April 29, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants