From fa86eceb3e51a70a74653fd7d1fdf10ffb7ec3ee Mon Sep 17 00:00:00 2001 From: Gregoire Date: Tue, 25 Jun 2024 11:24:53 +0200 Subject: [PATCH 1/2] Add a note about `ReportSenderException` --- web/docs/Senders.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/Senders.mdx b/web/docs/Senders.mdx index 14bfc4fab8..4b0c01d20f 100644 --- a/web/docs/Senders.mdx +++ b/web/docs/Senders.mdx @@ -142,7 +142,7 @@ Emails are sent with an `ACTION_SEND_MULTIPLE` intent. This means that the follo ## Implementing your own sender -You can implement your own `ReportSender` and configure ACRA to use that instead of or in addition to other senders. +You can implement your own `ReportSender` and configure ACRA to use that instead of or in addition to other senders. If `YourCustomSender.send()` throws a `ReportSenderException`, ACRA will retry to send the report later. From 7c2f41a4183725eb4fb65b63dcde0cf9c493ff43 Mon Sep 17 00:00:00 2001 From: F43nd1r Date: Fri, 9 Aug 2024 22:43:29 +0200 Subject: [PATCH 2/2] Apply suggested edit from #1362 --- web/docs/Senders.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/docs/Senders.mdx b/web/docs/Senders.mdx index 4b0c01d20f..6df1075789 100644 --- a/web/docs/Senders.mdx +++ b/web/docs/Senders.mdx @@ -142,7 +142,10 @@ Emails are sent with an `ACTION_SEND_MULTIPLE` intent. This means that the follo ## Implementing your own sender -You can implement your own `ReportSender` and configure ACRA to use that instead of or in addition to other senders. If `YourCustomSender.send()` throws a `ReportSenderException`, ACRA will retry to send the report later. +You can implement your own `ReportSender` and configure ACRA to use that instead of or in addition to other senders. + +:::Tip +Throwing a `ReportSenderException` from `YourCustomSender.send()` notifies ACRA of a failed delivery, and might trigger a retry (see [RetryPolicy](https://www.acra.ch/javadoc/latest/acra/org.acra.config/-core-configuration/retry-policy-class.html)).