sgx_jmp.rb 🔗
@@ -269,6 +269,8 @@ message(
m.to = m.to.with(domain: customer.jid.domain)
address["jid"] = customer.jid.to_s
BLATHER << m
+ }.catch_only(CustomerRepo::NotFound) { |e|
+ BLATHER << iq.as_error("forbidden", :auth, e.message)
}.catch { |e| panic(e, sentry_hub) }
end