italia / verificac19-sdk

✅ Official VerificaC19 Node.js SDK
MIT License
49 stars 17 forks source link

updateSignatures function fails for 502 error #29

Closed gs-link closed 2 years ago

gs-link commented 2 years ago

I found that today the function updateSignatures fails for a 502 error on an endpoint. Adding a try/catch block is preventing the error, maybe it's just an error due to a invalid endpoint, but it should be managed.

Thank you

Sebastiano

astagi commented 2 years ago

Hi @gs-link thank you! The problem on server should be fixed now.

If you want to contribute, feel free to open a PR to manage errors thrown by updateAll method