Monday, February 12, 2024
2 changes · master
Resolved issues and error corrections
Point of Sale now shows the correct error details when an unexpected server communication error occurs. This helps staff and support teams understand what went wrong faster, reducing confusion during troubleshooting.
Original PR description
When an RPCError isn't handled in any PoS workflow, the system doesn't show the correct error message. This is because the registered error handle for uncaught RPCError isn't not properly discriminating the error. After this commit, proper error message, with the traceback is now shown in the error dialog.
Fixed an issue in Point of Sale where using the “Search more” option during product search could trigger an error and leave the screen blank. This improves checkout reliability by keeping the product search flow usable for store staff.
Original PR description
ISSUE: ====== In the pos session product screen clicking on the Search more throws a traceback and completely blank the screen. Steps to Reproduced: ==================== Step 1: Open POS Step 2: Search product Step 3: Click on Search more button. Screen will blank and traceback occurred Reference Video: https://drive.google.com/file/d/1h5qka_BukOWP0kKfBi5pg4XrrgW0AyW8/view Traceback Log: https://pastebin.com/mzQ2dYyQ After this commit: ================== With this commit, the traceback will not appear when we trying to click on more in the pos session product screen.