Check to only run the handler if the site is not in umbracoDebugMode