add error message as description
This commit is contained in:
parent
f579094cec
commit
3ba50f3df7
|
@ -178,6 +178,7 @@ public class FbEventScraper extends AsyncTask<Void, Void, Void> {
|
||||||
|
|
||||||
} catch (JSONException | NullPointerException e) {
|
} catch (JSONException | NullPointerException e) {
|
||||||
name = document.title();
|
name = document.title();
|
||||||
|
description = scraper.main.get().getString(R.string.error_scraping);
|
||||||
try {
|
try {
|
||||||
image_url = document.select("div[id*=event_header]")
|
image_url = document.select("div[id*=event_header]")
|
||||||
.select("img").first().attr("src");
|
.select("img").first().attr("src");
|
||||||
|
|
Loading…
Reference in New Issue