hotwax / dxp-components

DXP Components
Apache License 2.0
11 stars 17 forks source link

Fix error handling in login process #258

Open ravilodhi opened 4 months ago

ravilodhi commented 4 months ago

Currently, most of the OMS APIs return an error object in case of failure. However, the error is treated as a string in error handling. Please enhance the error handling to consider both the error pattern so that messages like [object, object] can be avoided. Screenshot from 2024-02-06 11-08-25

Adameddy26 commented 3 months ago

Issue verified in fulfillment app release v2.0.3 and found that issue is not fixed properly.

Screenshot 2024-03-13 at 4 42 29 PM

Adameddy26 commented 3 months ago

Verified this issue for import app release v2.15.0 and found that issue is working fine. ![Uploading Screenshot 2024-03-19 at 4.45.13 PM.png…]()

Adameddy26 commented 3 months ago

Issue verified and working fine in facilities app release v1.5.0.