- Added exception handling with logging when fetching customer by ID fails. - Improved safety checks to ensure customer existence before returning the object. - Return `null` in case of failure to prevent unhandled errors.
- Added exception handling with logging when fetching customer by ID fails. - Improved safety checks to ensure customer existence before returning the object. - Return `null` in case of failure to prevent unhandled errors.