mirror of
https://github.com/akaessens/NoFbEventScraper
synced 2025-06-05 23:29:13 +02:00
Correctly exit if error in scraping instead of endless loop
This commit is contained in:
@@ -99,9 +99,11 @@ public class FbPageScraper extends AsyncTask<Void, Void, Void> {
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
this.error = R.string.error_connection;
|
||||
return null;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
this.error = R.string.error_unknown;
|
||||
return null;
|
||||
}
|
||||
} while (url != null);
|
||||
|
||||
|
Reference in New Issue
Block a user