diff --git a/src/Socialbox/Objects/Standard/Peer.php b/src/Socialbox/Objects/Standard/Peer.php index 86ec249..e8d839c 100644 --- a/src/Socialbox/Objects/Standard/Peer.php +++ b/src/Socialbox/Objects/Standard/Peer.php @@ -38,7 +38,7 @@ } else { - throw new InvalidArgumentException('Invalid address value'); + throw new InvalidArgumentException('Invalid address value type, got type ' . gettype($data['address'])); } $this->displayName = $data['display_name'];