opendevstack / ods-documentation

Antora playbooks to generate the versioned documentation
0 stars 6 forks source link

Script errors do not fail travis job #27

Closed tbugfinder closed 2 years ago

tbugfinder commented 4 years ago

https://github.com/opendevstack/ods-documentation/blob/27165921c602d7452050d8b74244390568ee659b/.travis/push.sh#L23-L25

In case e.g. git cannot commit successfully, the error is only shown in script output but not as a failure of the travis job. In addition the script doesn't support other branches than master.

rachelgomez161999 commented 2 years ago

Script errors occur when a client-side script that violates the same-origin policy of the user’s browser by making an invalid cross-origin HTTP request.

If you’re working on a website and have Raygun Crash Reporting hooked into your client-side JavaScript, “Script error” will probably be one of the first things you will notice appearing in your dashboard.

Script errors are mostly likely to be caused by an error within a script that’s hosted on a different domain (for example, CDN scripts). As a result, the user’s browser stops the script from executing in order to prevent an attack called cross-site request forgery. However, it may also be a problem if the script is stored on the same domain but uses a different port, protocol (for example http:// instead of https://), or subdomain. This may help you, Rachel Gomez