खुला हुआ बंद किया हुआ

Exception Handling #1133


User avatar
0
neurawitch बनाया था

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 उत्तर (ओं)
  • User Avatar
    0
    maliming बनाया था
    सहायता दल 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 बनाया था

    Sorry about that.

    version 4.2.1, MVC

    How can I show a simple error message?

    Thanks in advance

  • User Avatar
    0
    nparejod बनाया था

    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 बनाया था
    सहायता दल 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 बनाया था
    सहायता दल Automatic process manager

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

Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11