mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
EventLogging network failure is silently ignored
EventLogging failing should never cause a hard crash, so ignore for now. Bug: 46847
This commit is contained in:
parent
c429b7649d
commit
53db4a13a0
1 changed files with 1 additions and 2 deletions
|
|
@ -30,8 +30,7 @@ public class EventLog {
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// Probably just ignore for now. Can be much more robust with a service, etc later on.
|
// Probably just ignore for now. Can be much more robust with a service, etc later on.
|
||||||
// But in the interest of debugging
|
Log.d("Commons", "IO Error, EventLog hit skipped");
|
||||||
throw new RuntimeException(e);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue