Skip to content

fix: validate runtime config parsing#173

Merged
arbrandes merged 1 commit intoopenedx:mainfrom
brian-smith-tcril:validate-runtime-config-parsing
Feb 13, 2026
Merged

fix: validate runtime config parsing#173
arbrandes merged 1 commit intoopenedx:mainfrom
brian-smith-tcril:validate-runtime-config-parsing

Conversation

@brian-smith-tcril
Copy link
Contributor

I ran into a "silent failure" issue when I accidentally left a trailing comma in my runtime config JSON. This just updates the runtimeConfig() function to verify the data we get from axios is actually an object before trying to merge.

@brian-smith-tcril brian-smith-tcril force-pushed the validate-runtime-config-parsing branch from 937b412 to 260897b Compare February 13, 2026 15:59
Copy link
Contributor

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

👍🏼

@arbrandes arbrandes merged commit 4f1540a into openedx:main Feb 13, 2026
5 checks passed
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

Comments