msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 15 forks source link

Remove raw GraphQL error detail from error snacks #5079

Open bijaySussol opened 1 month ago

bijaySussol commented 1 month ago

What went wrong? 😲

I am not exactly sure how this happened but was a nasty one. But what i do remember is, i selected the past expiry date. Below is the error. Screenshot 2024-10-10 at 21 56 11

Expected behaviour 🤔

How to Reproduce 🔨

Steps to reproduce the behaviour:

Not sure

Your environment 🌱

lache-melvin commented 1 month ago

Uggggly 😭 502 is a bad gateway error, so this is not a very helpful message... more broadly, maybe we need some error handling so as not to show the entire graphql query in the unexpected server error popups!

DhanyaHerath commented 1 month ago

@bijaySussol Bijay!!!! 👋🏽