raygdev / repair-order-tracker

A repair order tracker for automotive technicians
https://repair-order-tracker.vercel.app
3 stars 1 forks source link

21 provide better errors #24

Closed raygdev closed 1 year ago

raygdev commented 1 year ago

Update the NotFound component to provide more useful messages other than "Something went wrong" When it errors, the previous message wasn't really helpful... Now if it errors via some bad function call or error, it will provide something more meaningful. Also when handling anything other than a 401 response those errors will appear as well providing some better context around a requested resource. Changed the highlights cards in the home page to reduce the amount of shadow that was being placed on them. It didn't look very good. Still doesn't but it's an improvement. Changed a line in handleNotOk utility. Was expecting a property with statusText and mistakenly called it text. It gave unexpected (no) output.