hello there,
Currently I'm working with the facebook-nodejs-business-sdk
to send events and need to capture the exception:
FacebookRequestError.FacebookError (/Users/imacig/Desktop/meta_pixel_conversion_api/node_modules/facebook-nodejs-business-sdk/dist/exceptions.js:18:16) at FacebookRequestError (/Users/imacig/Desktop/meta_pixel_conversion_api/node_modules/facebook-nodejs-business-sdk/dist/exceptions.js:34:5) at (/Users/imacig/Desktop/meta_pixel_conversion_api/node_modules/facebook-nodejs-business-sdk/dist/api.js:153:15) at process.processTicksAndRejections
so, how can I import the mentioned exception? I tried:
- import FacebookRequestError from "facebook-nodejs-business-sdk/dist/exceptions"
- import FacebookRequestError from "facebook-nodejs-business-sdk"
No one worked, thanks beforehand !
You're probably going to get more help on the GitHub repo itself - https://github.com/facebook/facebook-nodejs-business-sdk/issues