#arun.prabhu.weave

1 messages · Page 1 of 1 (latest)

calm martenBOT
karmic crown
#

hi! hmm, you can of course wrap that code in a try/catch . Not sure if that catches everything since there might be low level network errors but not sure what else you could do.

calm martenBOT
fringe plinth
#

We have tried wrapping all the calls in try/catch blocks but that didn't help. This not only happens during the wait for collectPaymentMethod. These errors also happen when the terminalInstance is idle and it makes health check calls to the terminal reader.

rotund bramble
#

👋 taking over for my colleague. Let me catch up.

#

would you mind sharing your code?

fringe plinth
rotund bramble
#

and could you please paste the whole error??

fringe plinth
rotund bramble
#

this means that you haven't connected to the reader yet

#

before collecting the Payment Method

fringe plinth
#

But we are. The reader is still displaying the request amount. And the onUnexpectedReaderDisconnect was also not called.

rotund bramble
#

I'm not sure what is disconnecting you from the reader then

fringe plinth
#

Yes. Is there a way to catch these errors so that we can handle further actions.