Skip to content

Exception bubbling up related to replaceSessionKey #1030

@hauke-d

Description

@hauke-d

How do you use Sentry?

Sentry SaaS (sentry.io)

SDK version

4.15.2

Laravel version

10.x

Steps to reproduce

Cache::get('someKey', false);

Expected result

Getting the cached value or the default.

Even if there is an error within the sentry plugin, I would not expect it to disrupt my application.

Actual result

Exception bubbles up

TypeError 
Sentry\Laravel\Features\CacheIntegration::replaceSessionKey(): Argument #1 ($value) must be of type string, null given, called in /var/www/app/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Features/CacheIntegration.php on line 90

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions