Logging as a Relay error message when the relay does not accept an event.

This commit is contained in:
Vitor Pamplona
2024-06-24 17:55:31 -04:00
parent 62ac05ae81
commit 8cef7bcb75

View File

@@ -316,6 +316,11 @@ class Relay(
}
Log.w("Relay", "Relay on OK $url, $eventId, $success, $message")
if (!success) {
RelayStats.newNotice(url, "Failed to receive $eventId: $message")
}
it.onSendResponse(this@Relay, eventId, success, message)
}
"AUTH" ->