Open stevesuh opened 6 years ago
We should consider to make the code more resilient here.
Another possible problem could be here, that the message is acked before handleMessage. Is that really the way to go, or should ack better be called after handleMessage?
I was logging this line. https://github.com/axelspringer/graphql-google-pubsub/blob/master/src/google-pubsub.ts#L81
I saw one message go through from the async iterator but then the it blew up on second one. So there should at least be a try catch.