Closed bernardodiasc closed 6 years ago
Tested on v1.9.1 and the bug no longer occurs.
Can see it's fixed here https://github.com/VulcanJS/Vulcan/commit/800784f3f9cda58a6e960095aa4910872f1b009a#diff-5cf875fb5003a01655fbd454fbc3280e 👏
Thanks @SachaG!
Hi folks, using the Newsletter module, the functionality works well.
But found one problem when trying to force an error, like subscribing an existing email, the response only gives me
createError requires a "message" property on the config object passed as the second parameter
.Here’s the server log:
I’m currently using the
intl
to format text, butgraphQLError
don’t have aname
prop to use.Checking on the Vulcan package I noticed that
message
is empty for that error case: https://github.com/VulcanJS/Vulcan/blob/devel/packages/vulcan-newsletter/lib/server/integrations/mailchimp.js#L54-L61