-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefaultReportSenders + CustomReportSender #286
Comments
As far as I can tell this should work. |
startSendingReports() private. I can work or standard or custom. I can not find that I could not miss |
So what does you log say? |
1)LogCat filter - ACRA One custom sender - write in log on diskD/ACRA﹕ ACRA is enabled for by.mrsoft.mrdoc, intializing... Two sender (standart + custom)D/ACRA﹕ ACRA is enabled for by.mrsoft.mrdoc, intializing... tnx for help William |
Well if you are trying to send to |
Acre does not custom Sender if there is no Internet. How to change the order to do add first Sender (custom) and add two Sender standart? |
Hi @ldima ACRA is meant to attempt to send to all Senders and only fail if it couldn't send to at least one. But I can see an issue in Could you please try the fix I have made in this branch https://github.com/ACRA/acra/tree/issue-286 |
Hello William. tnx for help and branch.
tnx for answer and help. |
|
sorry William.
"Note that if none of the senders were able to send the report is deleted then the file will not be deleted." - Now I know it ! tnx William. |
|
1)Thank you, William. everything works correctly |
The reason that the files are removed as long as they have been sent to one Sender is otherwise if one of the sender fails you would constantly be resending the error to your other server. |
Hello. Can I use a standard mechanism for sending error + my custom. At the same time?
For example use the standart Reporter - (send to cloudant) and custom Reporter (write to a disk file) At the same time for One Error ?
I try write but work or Standart (cloudant) or Custom (write to a disk file)
ACRA.getErrorReporter().removeAllReportSenders();
if (inputValue) {
ACRA.getErrorReporter().setDefaultReportSenders();
ACRA.getErrorReporter().addReportSender(saveInLog);
} else {
ACRA.getErrorReporter().setReportSender(saveInLog);
}
I would like to help
thanks
The text was updated successfully, but these errors were encountered: