0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

Note that there was an error on exception during media sync (#4730)

This commit is contained in:
Tim Rae 2017-11-09 07:47:08 +09:00 committed by Timothy Rae
parent aadec6222f
commit af9119cc17

View File

@ -407,7 +407,7 @@ public class Connection extends BaseAsyncTask<Connection.Payload, Object, Connec
} else {
AnkiDroidApp.sendExceptionReport(e, "doInBackgroundSync-mediaSync");
}
mediaError = e.getLocalizedMessage();
mediaError = AnkiDroidApp.getAppResources().getString(R.string.sync_media_error) + "\n\n" + e.getLocalizedMessage();
}
}
if (noChanges && (!media || noMediaChanges)) {