[Bug] Cannot read property 'startsWith' of undefined (source:
yafp opened this issue · 1 comments
yafp commented
Describe the bug
When the service-config patch routines from app/js/ttth/modules/userServiceConfigUpdater find a non-matching file it results in errors.
To Reproduce
- Copy a user-settings-json-file into the user-service-configuration folder.
Expected behavior
ttth should be able to see it is not a service-configuration and display a notification.
Screenshots
Desktop (please complete the following information):
- OS: Linux
- Version 1.8.x
Additional context
Sentry: TTTH-6P
yafp commented
I can easily catch this in the function
updateAllUserServiceConfigurationsForM1M9P0
but the question is - how did it happen in the first place.