Closed dangvuthang closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/further-web/cosc-2769-rmit/FoED1KJjTbV9EeK9NYE8uXSu3sV4
✅ Preview: https://cosc-2769-rmit-git-bug-invalid-error-handler-further-web.vercel.app
Changelog
error.name === "Error"
, which will always returntrue
, thus mutating theerror obj
from prior handlingHow to test
Note
This fix will remove invalid error message display on
production