Fix error message in display name deletion exception.
This commit is contained in:
parent
17a151fd8a
commit
3d915f55a5
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue