Skip to content

Not all errors passed through to error message #360

@bradvogel

Description

@bradvogel

I'm seeing a lot of errors passed back to my callbacks that include a null message. Eg:

{ [Error: null] code: 500 }

However, when examining the body of the actual HTTP response, I see that the message is actually populated:

Actual response object:

 {
   "statusCode": 500,
   "body": {
     "error": {
       "errors": [
         {
           "domain": "global",
           "reason": "backendError",
           "message": "Backend Error"
         }
       ],
       "code": 500,
       "message": "Backend Error"
     }
   }
 }

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions