Skip to content
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

Agrega servicio REST y persistencia con Room #11

Merged
merged 10 commits into from
Jun 12, 2018

Conversation

ngonsoto
Copy link
Contributor

Soluciona #2

} catch (RuntimeException e) {
Utils.showToast(getBaseContext(), String.format("Fallo de CountryHelper"));
Toast.makeText(getBaseContext(), getBaseContext().getString(R.string.no_network_connection), Toast.LENGTH_SHORT).show();
Log.e(LOG_TAG, getBaseContext().getString(R.string.no_network_connection), e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si falla por una excepción, la excepción debe incluirse en todos los Log.e como tercer parámetro, para ver el stacktrace en el log.
Cambiar esto en todos los lugares dónde se usa Log.e dentro de un catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants