mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::json: Minor simplify error message.
This commit is contained in:
parent
231bcf3f95
commit
92b3ba4643
1 changed files with 2 additions and 2 deletions
|
@ -2246,7 +2246,7 @@ ircd::json::iov::add::add(iov &iov,
|
|||
if(iov.has(member.first))
|
||||
throw exists
|
||||
{
|
||||
"failed to add member '%s': already exists",
|
||||
"member '%s' already exists",
|
||||
string_view{member.first}
|
||||
};
|
||||
|
||||
|
@ -2273,7 +2273,7 @@ ircd::json::iov::add::add(iov &iov,
|
|||
if(iov.has(cp.first))
|
||||
throw exists
|
||||
{
|
||||
"failed to add member '%s': already exists",
|
||||
"member '%s' already exists",
|
||||
string_view{cp.first}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue