Open Closed

Exception Handling #1133


User avatar
0
neurawitch created

When throwing a BusinessException or UserFriendlyException, how do we go about hiding the stack trace? Would like to execute logic when a user creates or updates a record, but the stack trace is causing a really wide and long popup box.


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    • ABP Framework version: vX.X.X
    • UI type: Angular / MVC / Blazor
    • Steps to reproduce the issue:

    Can you also share screenshot as well?

  • User Avatar
    0
    neurawitch created

    Sorry about that.

    version 4.2.1, MVC

    How can I show a simple error message?

    Thanks in advance

  • User Avatar
    0
    nparejod created

    Hello, I have the opossite issue, I want to see a full stack trace of an exception, I need to see the real error. All I see is this:

    I am new implementing ABP framework, any help will be appreciated.

    Nestor

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can check this option.

    https://docs.abp.io/en/abp/latest/Exception-Handling#send-exception-details-to-the-client

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15