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:
@@ -75,6 +75,8 @@
|
||||
};
|
||||
|
||||
return apiService.organizations.post(paidRequest).$promise;
|
||||
}, function (err) {
|
||||
throw err.message;
|
||||
}).then(finalizeCreate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user