Skip to content

V1.0.4: Improved Exceptions

Choose a tag to compare

@aawnu aawnu released this 28 Aug 01:50
· 306 commits to master since this release
d04a112

This update refactors the exception flow of the code in a cleaner and simpler-to-understand way.

The reason for this update is to avoid throwing midways through a process happening on multiple layers, for example $event->toArray()->parent::toArray(). It is also preferable to avoid throwing exceptions when iterating through multiple post-calls due to multiple Event stacks (Each post-call can contain a maximum of 25 events).

Please use the $debug parameter when initializing the Analytics class while configuring your code and events. Just bear in mind that Google Analytics Debug endpoint will only point to direct constraints to their structure and not the data itself.

What's Changed

  • Update Exception Handling by @AlexWestergaard in #15

Full Changelog: v1.0.3...v1.0.4