Copied to clipboard

Flag this post as spam?

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


  • Fahad Ayub 71 posts 238 karma points
    Oct 11, 2017 @ 12:19
    Fahad Ayub
    0

    Runtime error Handling

    Hi, Could some body please help me. I dont want to show user the yellow screen in case of run time error: enter image description here

    Could some one let me know how to handle this. I just want to show a custom error page with some message. For 404 error I have created a page in Umbraco backend and then edited the file /Config/umbracoSettings.config. But I am not sure how to handle run time error.

    Thanks

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Oct 11, 2017 @ 20:32
    Alex Skrypnyk
    101

    Hi Fahad

    You have to implement 500 errors handling in Umbraco, read how to do it here: https://blog.mortenbock.dk/2017/02/03/error-page-setup-in-umbraco/

    And here: https://gist.github.com/StefanoChiodino/ad6f6860c235f4fd1d536fe53f887c2c how to generate html error page from Umbraco page.

    Thanks,

    Alex

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies