diff --git a/src/Protocols/Redis.php b/src/Protocols/Redis.php index 168b9e7..64c05a2 100644 --- a/src/Protocols/Redis.php +++ b/src/Protocols/Redis.php @@ -172,7 +172,7 @@ public static function decode($buffer) } return [$type, $value]; default: - return ['!', "protocol error, got '$type' as reply type byte."]; + return ['!', "protocol error, got '$type' as reply type byte. buffer:".bin2hex($buffer)]; } }