mirror of
https://github.com/matrix-construct/construct
synced 2024-06-02 18:18:56 +02:00
ircd::json: Minor simplify error message.
This commit is contained in:
parent
231bcf3f95
commit
92b3ba4643
|
@ -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