Skip to content

Commit 2a53c79

Browse files
authored
feat: add http response exception to do not report handler (#305)
1 parent 0eb3bb1 commit 2a53c79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/System/Integrate/Exceptions/Handler.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace System\Integrate\Exceptions;
66

77
use System\Container\Container;
8+
use System\Http\Exceptions;
89
use System\Http\Request;
910
use System\Http\Response;
1011
use System\Integrate\Http\Exception\HttpException;
@@ -26,6 +27,7 @@ class Handler
2627
* @var array<int, class-string<\Throwable>>
2728
*/
2829
protected array $dont_report_internal = [
30+
Exceptions\HttpResponse::class,
2931
HttpException::class,
3032
];
3133

0 commit comments

Comments
 (0)