1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

catch and throw proper stripe error message

This commit is contained in:
Kyle Spearrin
2017-07-29 16:44:21 -04:00
parent afe223f410
commit 0c1fb3e118
4 changed files with 8 additions and 0 deletions

View File

@@ -75,6 +75,8 @@
};
return apiService.organizations.post(paidRequest).$promise;
}, function (err) {
throw err.message;
}).then(finalizeCreate);
}