Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: post hook threw exception on JsonResponse (#287)
If a controller returns an Illuminate\Http\JsonResponse and you have the OpenTelemetry traceresponse or server-timing propagator installed, the Illuminate\Foundation\Http\Kernel::handle() post hook throws an exception due to the ResponsePropagationSetter Illuminate\Http\Response assertion. Changing the Response assertion to the Symfony parent class fixes this.
- Loading branch information