Fix error message in display name deletion exception.

This commit is contained in:
netkas 2025-01-06 02:27:22 -05:00
parent 17a151fd8a
commit 3d915f55a5

View file

@ -26,12 +26,11 @@
try
{
// Set the password
RegisteredPeerManager::deleteDisplayName($request->getPeer());
}
catch(Exception $e)
{
throw new StandardException('Failed to set password due to an internal exception', StandardError::INTERNAL_SERVER_ERROR, $e);
throw new StandardException('Failed to delete display name due to an internal exception', StandardError::INTERNAL_SERVER_ERROR, $e);
}
return $rpcRequest->produceResponse(true);