logging
logging copied to clipboard
TypeError on message of type array with SentryLogger
https://github.com/contributte/logging/blob/2cc959bcfbd05cf2946b6711432d14fc0deed418/src/Sentry/SentryLogger.php#L63-L94
method log can accept message of type mixed. In my case it was array. But bit lower makeRequest is unable to process anything other than Throwable or string, since \Sentry\ClientInterface::captureMessage accepts only string message.
Where that array came from? https://github.com/nette/tracy/blob/024db76dc63e48afddddaa69792e453e54260707/src/Bridges/Psr/TracyToPsrLoggerAdapter.php#L50
Im not sure what would be fix here. Just reporting this issue.