Open OmarSeleim2010 opened 1 year ago
when I try
throw new Exception("Testing Sentry Exception");
hi
Where do you throw the exception? mvc controller or app service?
hi
Where do you throw the exception? mvc controller or app service?
I try throw new Exception("Testing Sentry Exception");
in Page.cshtml.cs because I'm using .Net core project razor page
The builtin exception filter will handle the exception, You can override the default behavior.
https://github.com/search?q=repo%3Aabpframework%2Fabp%20HandleAndWrapException&type=code
Is this IAsyncExceptionFilter
something Sentry should be implementing too? I imagine this is supported by 1 or more handlers?
hi bruno-garcia
You can override the default behavior.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It does log the exception: https://github.com/abpframework/abp/blob/c18734c4e24e8462b671246c94d463cc8ff3326d/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/ExceptionHandling/AbpExceptionHandlingMiddleware.cs#L60
So it should show up in Sentry
I want to use sentry in abp project and make steps correctly as follow but exceptions dosen't show in sentry dashboard (in issues page) steps : 1- run command Install-Package Sentry.AspNetCore -Version 3.36.0 add this code
when I try
throw new Exception("Testing Sentry Exception");
no exception appear in Issues page but when I try thisSentrySdk.CaptureException(new Exception("Test Exception by SentrySdk"));
it work and shown in issues page what is the problem? also when I do same steps on .net core project (not abp project) every thisg work fine