Base solution for your next web application
Open Closed

Remove exception handling #6371


User avatar
0
antonis created

Hi, If I wanted to remove default exception handling behavior of asp.net boilerplate (where it automatically catch and throws exceptions into client) what code do I need to remove from server?

Thanks in advance


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    What is the version of Zero you use?

    You can look at the relevant documents: https://aspnetboilerplate.com/Pages/Documents/Handling-Exceptions https://aspnetboilerplate.com/Pages/Documents/AspNet-Core#exception-filter

  • User Avatar
    0
    antonis created

    @maliming Thanks for your reply. I am using asp.net boilerplate. Want to disable exception handling of abp. Don't want to send a Http 500 error in client never I have my own exception logic between client and server. So what I am looking is to remove exception handling completely from abp server

    Thanks

  • User Avatar
    0
    maliming created
    Support Team
    • Your Abp package version.
    • Your base framework: .Net Framework or .Net Core.
  • User Avatar
    0
    ryancyq created
    Support Team

    Related:

    • https://support.aspnetzero.com/QA/Questions/6013#answer-70e01884-e37e-c716-dd6e-39ea4e0202b3
    • https://support.aspnetzero.com/QA/Questions/6000