We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
http
1 parent 78e8448 commit 14e828dCopy full SHA for 14e828d
src/Sentry/Laravel/Features/HttpClientIntegration.php
@@ -117,7 +117,9 @@ public function handleResponseReceivedHandlerForBreadcrumb(ResponseReceived $eve
117
{
118
$level = Breadcrumb::LEVEL_INFO;
119
120
- if ($event->response->failed()) {
+ if ($event->response->clientError()) {
121
+ $level = Breadcrumb::LEVEL_WARNING;
122
+ } elseif ($event->response->serverError()) {
123
$level = Breadcrumb::LEVEL_ERROR;
124
}
125
0 commit comments