psychopy / psychojs

PsychoJS is the online counterpart of the PsychoPy Python library
MIT License
165 stars 68 forks source link

Changes brought in to help with #368 will break error handling on occasion #397

Open thewhodidthis opened 3 years ago

tpronk commented 3 years ago

I think the issue is not so much #368 (which writes an error message to the data-error attribute, but #359, which introduces window.onunhandledrejection. I've made an alternative version of of your PR #398 which does keep in the error logging via data-error, but removed the window.onunhandledrejection, just like yours. The testrun below shows that this does seem to fix the iOS video issues. https://github.com/psychopy/psychojs/runs/2824210423?check_suite_focus=true