v1.16.0
What's Changed
Error handling has greatly been improved in this release
try {
await tracker.trackProductView({
productId: null,
user: UserFactory.anonymous(),
});
}
catch (e) {
console.log(e.message, e?.details)
}
We will now correctly throw an error, when an API request fails.
The details
-property will contain the problem details response (Specification details), if any has been returned from the API.
Full Changelog: 1.15.0...1.16.0