Hi everyone, I’m new to SST, and I’m running into ...
# help
e
Hi everyone, I’m new to SST, and I’m running into an issue dealing with errors… I’m trying to run an Apollo Server locally, as shown in this example: graphql-apollo. However, if there’s an issue in the code, the error is silent. So, from the GraphQL section of the SST console, when I send a query, it starts loading until, after 10 seconds, I get
Internal Server Error
(when the timeout is reached). Then, I see all these faulty invocations in the Local tab with Pending status. If I remove the code error (making the code working), all invocations update with the Success status. After that, I receive all previous (pending) responses in the console. How can I see errors in my terminal?
t
This is a bug we fixed in 1.0 I believe
Errors that happened outside your function (when initing) got stuck in pending state
If you're starting a new project we recommend using 1.0 beta
e
Thank you @thdxr, it works! I’m using v1.0.0-beta.21, what about reliability? Can I use it in production?
t
yeah most of the changes are api changes, not much difference in production
we would have released it officially but we're putting together materials to do a launch