I’m not a Safari user (eww Mac), but I am sure it has something akin to the Developer tools found within Chromium browsers and Firefox (Opened on windows devices by pressing F12) - If you can find out how to open that, it should have a console which will likely display some sort of error message.