serverless-alexa-skills icon indicating copy to clipboard operation
serverless-alexa-skills copied to clipboard

check update status to report errors on `build` and `update`

Open lukelafountaine opened this issue 5 years ago • 1 comments

Currently, the build and update commands assume success.

Since these commands are asynchronous, we need to make successive calls to check on the status of the operation. The SMAPI docs mention that the response for these requests contain a Location header which is a relative URL that can be used to track the status. This PR makes use of that Location URL to report any actual errors that have happened.

lukelafountaine avatar Jul 08 '19 14:07 lukelafountaine

Thanks for this - it really helped work out why things were failing!

driskell avatar Sep 22 '20 12:09 driskell