Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

UserFriendlyErrors/Exceptions dont work #2211


User avatar
0
bbakermmc created
An exception of type 'Abp.UI.UserFriendlyException' occurred in Platform.Web.dll but was not handled in user code

Additional information: Ooppps! There is a problem!

Debug tries to open "UnitOfWorkInterceptor.cs"

Website then tells me I have a runtime error and to disable "Custom Errors" to see the message.

public ActionResult Index()
        {
            throw new UserFriendlyException("Ooppps! There is a problem!", "You are trying to see a product that is deleted...");
            return View();
        }

1 Answer(s)
  • User Avatar
    0
    bbakermmc created

    My bad, forgot to inherit the correct controller base :?