Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • pronto 61 posts 172 karma points
    Oct 29, 2013 @ 17:10
    pronto
    0

    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

  • Mike Chambers 636 posts 1253 karma points c-trib
    Nov 04, 2013 @ 10:51
    Mike Chambers
    0

    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>
Please Sign in or register to post replies

Write your reply to:

Draft