Report errors from modules

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

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 feature which is exclusive to CMS Enterprise. There is also some information on debugging methods here 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 you should have access to the logs from within “Apps > Your App Name > Monitoring”. It shows something similar to the below:

Alternativley if you are using a private app 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: