mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 13:17:34 +01:00
Logging as a Relay error message when the relay does not accept an event.
This commit is contained in:
@@ -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" ->
|
||||
|
||||
Reference in New Issue
Block a user