# Report errors from modules

**URL:** <https://community.hubspot.com/t/report-errors-from-modules/85968>\
**Category:** CMS Development\
**Tags:** javascript\
**Created:** [July 24, 2023, 1:18pm UTC](https://community.hubspot.com/t/report-errors-from-modules/85968 "2023-07-24T13:18:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OBojahr](https://avatars.discourse-cdn.com/v4/letter/o/7c8e57/32.png) [@OBojahr](https://community.hubspot.com/u/OBojahr)\
**Post date:** [July 24, 2023, 1:18pm UTC](https://community.hubspot.com/t/report-errors-from-modules/85968/1 "2023-07-24T13:18:32Z")

</div>

Hi,

I wonder what is the recommended way to notify us internally if something wents wrong inside the module.

E.g. consider and API endpoint does not respond correctly, I want to send an error report somewhere … ideally I see this in the Hubspot universe.

Please advise best practice in that regards.

Oliver

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [July 24, 2023, 1:46pm UTC](https://community.hubspot.com/t/report-errors-from-modules/85968/2 "2023-07-24T13:46:37Z")

</div>

Hey @OBojahr,

If you are referring to modules that you’ve created within a theme being used on the HubSpot CMS there is a [code alert](https://developers.hubspot.com/docs/cms/developer-reference/debugging-and-errors/code-alerts) feature which is exclusive to CMS Enterprise. There is also some information on debugging methods [here](https://developers.hubspot.com/docs/cms/developer-reference/debugging-and-errors) which might be useful.

If it’s in relation to a custom integration/app that you’ve built for the portal there are different approches to take. If it’s a [public app](https://developers.hubspot.com/docs/api/creating-an-app) you should have access to the logs from within “Apps \> Your App Name \> Monitoring”. It shows something similar to the below:

 ![Screenshot 2023-07-24 at 14.44.17.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/e/7ee3635f0d285c72a786623a9fdfb61b920899e5.png)

Alternativley if you are using a [private app](https://developers.hubspot.com/docs/api/private-apps) you can view this information from within your portal by navigating to “Settings \> Integrations \> Private Apps \> Your Private App Name \> Logs”. You should see something similar to the below:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/1/917a9a72d1513eb44100559bc09b58665fa269a3.png)
