Is it possible to get Umbraco to send an email when/if a scripting file errors? For example, if the "Error Loading MacroScript..." error is met on screen, is it possible to get a notification of when and which pages this happens?
depending on your umbraca version... there was a new setting added to config/umbracosettings.config
<!-- How Umbraco should handle errors during macro execution. Can be one of the following values:
- inline - show an inline error within the macro but allow the page to continue rendering. Historial Umbraco behaviour.
- silent - Silently suppress the error and do not render the offending macro.
- throw - Throw an exception which can be caught by the global error handler defined in Application_OnError. If no such
error handler is defined then you'll see the Yellow Screen Of Death (YSOD) error page.
Note the error can also be handled by the umbraco.macro.Error event, where you can log/alarm with your own code and change the behaviour per event. -->
<MacroErrors>inline</MacroErrors>
Receive notification if scripting file errors?
Hi Everyone,
Is it possible to get Umbraco to send an email when/if a scripting file errors? For example, if the "Error Loading MacroScript..." error is met on screen, is it possible to get a notification of when and which pages this happens?
Kind Regards,
pronto
depending on your umbraca version... there was a new setting added to config/umbracosettings.config
is working on a reply...