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

How to force throwing errors in IDE? #1324


User avatar
0
ppawlaszek created

The exception handling is nice, but I need to see errors and stacktrace.... how to disable/enable this feature?


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    All the errors and their stack trace should be logged the Log.txt file under Logs folder in web project directory. Does that work for you ?

  • User Avatar
    0
    hikalkan created
    Support Team

    There are different options:

    1. You can get notified when an exception is handled by ABP: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Handling-Exceptions#DocExceptionEvent">http://www.aspnetboilerplate.com/Pages/ ... ptionEvent</a>

    2. Also, you can set customErrors to "RemoteOnly" to prevent handling exceptions on debug mode.

    3. Use [DontWrapResult] for methods/classes you want (put it into interface for app service methods)