checkuponme / Spoke

Politics Rewired's fork of Spoke, now forked for CheckUpOn.Me.
GNU General Public License v3.0
5 stars 1 forks source link

fix: crash when err.originalError is unset #1

Closed will-hart closed 4 years ago

will-hart commented 4 years ago

Description

If err.originalError is unset in the graphql error formatting, the server returns an error response without any information useful for debugging the original error.

Motivation and Context

Report the initial error.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Documentation Changes

Checklist: