Skip to content

Commit 29c1671

Browse files
committed
Rethrow the request aborted, but don't log it.
1 parent 8732a4b commit 29c1671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Platforms/Exceptionless.AspNetCore/ExceptionlessMiddleware.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public async Task Invoke(HttpContext context) {
1818
await _next(context);
1919
} catch (Exception ex) {
2020
if (context.RequestAborted.IsCancellationRequested)
21-
return;
21+
throw;
2222

2323
var contextData = new ContextData();
2424
contextData.MarkAsUnhandledError();

0 commit comments

Comments
 (0)