Skip to content

Commit

Permalink
Merge pull request #32 from Formfeed-UK/v3
Browse files Browse the repository at this point in the history
fix: bug with error responses
  • Loading branch information
ianrobertsFF authored Apr 9, 2023
2 parents 016aad6 + b0b5eac commit 44501bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/InterceptBreadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function handle(Request $request, Closure $next) {
$responsePage = $response->original;
}

if (is_null($responsePage)) {
if (is_null($responsePage) || !is_array($responsePage)) {
return $response;
}

Expand Down

0 comments on commit 44501bb

Please sign in to comment.