-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Description
I was playing around and found out that error handling is not correct according to the standard.
Server Response (reference) with 422:
{
"errors": [
{
"detail": "field may not be empty",
"source": {
"pointer": "/data/attributes/x"
},
"status":"422"
}
]
}
Such a server response triggers this line. First of all, I wonder why there is a console.error instead of an accurate logger. And second of all, why does this catch exists at all? Five lines below, there is another catch doing the right thing... Did I get something wrong?
Metadata
Metadata
Assignees
Labels
No labels