mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 17:26:49 +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")
|
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)
|
it.onSendResponse(this@Relay, eventId, success, message)
|
||||||
}
|
}
|
||||||
"AUTH" ->
|
"AUTH" ->
|
||||||
|
|||||||
Reference in New Issue
Block a user