Affirm / Salesforce_Commerce_Cloud_Affirm

BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

finally block with out a catch propagates the exception #85

Open moorena opened 1 week ago

moorena commented 1 week ago

https://github.com/Affirm/Salesforce_Commerce_Cloud_Affirm/blob/afee5206a92ff0f50ae0740c2e34e4d994a6ae24/cartridges/int_affirm/cartridge/scripts/utils/affirmTracker.js#L86-L90

A try with no catch will propagate the exception.

Contrary to the comment, the finally block does not eat the exception.