Closed gregorylegarec closed 6 years ago
First errors in intents.createService() were throwing error synchronously. To be catch by .catch() method, they must be thrown with a Promise rejection.
intents.createService()
.catch()
@y-lohse Yep, we should rewrite this part with async/await when we will move it to the future cozy-interapp library.
async/await
cozy-interapp
First errors in
intents.createService()
were throwing error synchronously. To be catch by.catch()
method, they must be thrown with a Promise rejection.