- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 9
 
Closed
mercurius-js/mercurius
#248Description
Hello,
I recently started using your library and I am encountering a weird issue. I am using typescript and graphql. Whenever I throw an error in the format of: new Error("This is an error"). The graph ql ui provides the following:
"error": {
"statusCode": 500,
"error": "Internal Server Error",
"message": "Internal Server Error"
}
the strange part happens when i press the run button again on the ui, the proper error message is displayed. This 500 error only appears the first time I try to run a query that throws an error, subsequent calls do not throw this error. I was using Apollo server before and everything worked as expected. Can you please provide some assistance?
Thank you in advance!
Metadata
Metadata
Assignees
Labels
No labels