Skip to content
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

Fix error display string template in Ps4.tsx. Add missing Web API import. #538

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

vgf89
Copy link
Contributor

@vgf89 vgf89 commented Sep 20, 2023

I wasn't able to get the PS4 Mode addon to work, it just showed the following error at me after clicking Verify and Save: 'ERROR: Could not verify required files: ${e}'

Turns out that was a string literal instead of a template. Replacing the ' with ` in Ps4.tsx made it a template and enabled printing the actual error.

The actual error was that WebAPI wasn't found. I added the missing import and it started working.

@Pelsin
Copy link
Contributor

Pelsin commented Sep 21, 2023

Great fix, thanks for the PR!
The missing webApi import was probably my bad when separating all the addons from the addonConfigPage.

Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@arntsonl arntsonl merged commit ab319e2 into OpenStickCommunity:main Sep 24, 2023
26 checks passed
@vgf89 vgf89 deleted the PS4-mode-error-fix branch September 25, 2023 00:08
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.

3 participants