Environment
Sentry: 3.1.3
Laravel: 9.43.0
Steps to Reproduce
- Use sentry as the logger driver
'stack' => [
'driver' => 'stack',
'channels' => ['daily', 'sentry'],
'ignore_exceptions' => false,
],
- Send a log
logger()->info('user', ['userId' => 5, 'user' => 'abc'])
Expected Result
The log is added without any problems.
If this is expected behaviour, this should be explicitly documented somewhere
Actual Result
An exception is thrown, b/c user is apparently a reserved keyword, and passing it in the log creates an exception
