Enhance RpcException message with encryption algorithm details
This commit is contained in:
parent
e5c6bed02e
commit
56acd4cf81
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@
|
||||||
// Check if the transport encryption algorithm has changed
|
// Check if the transport encryption algorithm has changed
|
||||||
if($this->serverInformation->getTransportEncryptionAlgorithm() !== $exportedSession->getTransportEncryptionAlgorithm())
|
if($this->serverInformation->getTransportEncryptionAlgorithm() !== $exportedSession->getTransportEncryptionAlgorithm())
|
||||||
{
|
{
|
||||||
throw new RpcException('The server has changed its transport encryption algorithm, a new session must be created');
|
throw new RpcException('The server has changed its transport encryption algorithm, a new session must be created, old algorithm: ' . $exportedSession->getTransportEncryptionAlgorithm() . ', new algorithm: ' . $this->serverInformation->getTransportEncryptionAlgorithm());
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue