mirror of
https://github.com/matrix-construct/construct
synced 2025-03-14 05:20:17 +01:00
modules/federation/send: Remove unnecessary exception handler here.
This commit is contained in:
parent
aca515a961
commit
b938669ba3
1 changed files with 0 additions and 12 deletions
|
@ -58,7 +58,6 @@ handle_pdu(client &client,
|
|||
const resource::request::object<m::txn> &request,
|
||||
const string_view &txn_id,
|
||||
const m::event &event)
|
||||
try
|
||||
{
|
||||
m::vm::opts vmopts;
|
||||
vmopts.non_conform.set(m::event::conforms::MISSING_PREV_STATE);
|
||||
|
@ -70,17 +69,6 @@ try
|
|||
event, vmopts
|
||||
};
|
||||
}
|
||||
catch(const ed25519::bad_sig &e)
|
||||
{
|
||||
throw m::BAD_SIGNATURE
|
||||
{
|
||||
":%s %s %s %s",
|
||||
at<"origin"_>(request),
|
||||
at<"room_id"_>(event),
|
||||
at<"event_id"_>(event),
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
void
|
||||
handle_pdu_failure(client &client,
|
||||
|
|
Loading…
Add table
Reference in a new issue