diff --git a/src/app/services/stripe.js b/src/app/services/stripe.js index 755bd8a1..14fa9af1 100644 --- a/src/app/services/stripe.js +++ b/src/app/services/stripe.js @@ -58,7 +58,7 @@ module.exports = () => { }); } catch (err) { - if (err.response.status !== 404) { + if (err.response?.status !== 404) { throw err; }