You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled upon that adding binary data to the log makes the header added be completely blank. Turns out it dies on the json_encode of binary data. The easy fix was to utf8_encode it:
`
protected static function _log($type, array $args)
{
// nothing passed in, don't do anything
if (count($args) == 0 && $type != self::GROUP_END) {
return;
}
I stumbled upon that adding binary data to the log makes the header added be completely blank. Turns out it dies on the json_encode of binary data. The easy fix was to utf8_encode it:
`
protected static function _log($type, array $args)
{
// nothing passed in, don't do anything
if (count($args) == 0 && $type != self::GROUP_END) {
return;
}
`
Should probably be done for the other logging alias methods (error, warn, etc).
Should I do a pull request with this? Seems very minor. Thanks!
The text was updated successfully, but these errors were encountered: