We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8343c83 commit b63051fCopy full SHA for b63051f
1 file changed
app/src/main/java/be/mygod/reactmap/MainActivity.kt
@@ -173,7 +173,7 @@ class MainActivity : FragmentActivity() {
173
}
174
startActivity(intent)
175
} catch (e: Exception) {
176
- Timber.w(e)
+ if (e is IOException) Timber.d(e) else Timber.w(e)
177
withContext(Dispatchers.Main) {
178
Snackbar.make(findViewById(android.R.id.content), e.readableMessage, Snackbar.LENGTH_LONG).show()
179
0 commit comments