Refactor BeforeShipmentObserver (#753)
Instead of using a big nest of ifs and try-catch, this makes use of early returns to leave the bulk of the logic readable.
It also adds some logging to the class.
Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com>
Showing
Please register or sign in to comment