From 73ade0414585fa07bc2c0c2eb0e9a89dec8c77a0 Mon Sep 17 00:00:00 2001 From: netkas Date: Tue, 18 Mar 2025 15:21:33 -0400 Subject: [PATCH] Improve error message in RpcClient for signature verification failure --- src/Socialbox/Classes/RpcClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socialbox/Classes/RpcClient.php b/src/Socialbox/Classes/RpcClient.php index 5892116..7fab634 100644 --- a/src/Socialbox/Classes/RpcClient.php +++ b/src/Socialbox/Classes/RpcClient.php @@ -481,7 +481,7 @@ publicKey: $this->serverPublicSigningKey, )) { - throw new RpcException('The response signature cannot be verified with the server\'s public signing key'); + throw new RpcException('The response signature cannot be verified with the server\'s public signing key: ' . $this->serverPublicSigningKey); } } catch (CryptographyException $e)