dev-phone icon indicating copy to clipboard operation
dev-phone copied to clipboard

Cleanup after setup failure

Open dkundel opened this issue 3 years ago • 1 comments

If you start the dev-phone command and something fails it currently doesn't clean up after itself.

Way to replicate: have 50 Serverless Services in your Twilio account and run twilio dev-phone.

dkundel avatar Feb 11 '22 21:02 dkundel

Most of the backend requests now have appropriate try-catch blocks - so we could abstract all the "destroy" functions in a single function call and then call that in each catch block.

ayyrickay avatar Feb 16 '22 13:02 ayyrickay