logs: Context issues.

This commit is contained in:
Amine Bouabdallaoui 2025-01-24 21:10:01 +01:00
parent 717d6b664c
commit 44f9dd53d3

View File

@ -160,7 +160,7 @@ class ArticleFragment :
}.create() }.create()
.show() .show()
} catch (e: IllegalStateException) { } catch (e: IllegalStateException) {
e.sendSilentlyWithAcraWithName("Context required is null") e.sendSilentlyWithAcraWithName("OnCreate context required is null")
} }
} }
@ -226,7 +226,7 @@ class ArticleFragment :
).show() ).show()
} }
} catch (e: IllegalStateException) { } catch (e: IllegalStateException) {
e.sendSilentlyWithAcraWithName("Context required is null") e.sendSilentlyWithAcraWithName("Toolbar context required is null")
} }
else -> Unit else -> Unit
@ -378,7 +378,7 @@ class ArticleFragment :
try { try {
context = requireContext() context = requireContext()
} catch (e: IllegalStateException) { } catch (e: IllegalStateException) {
e.sendSilentlyWithAcraWithName("Context required is null") e.sendSilentlyWithAcraWithName("Webview context required is null")
return return
} }
@ -543,7 +543,7 @@ class ArticleFragment :
try { try {
requireContext().openItemUrlInBrowserAsNewTask(this@ArticleFragment.item) requireContext().openItemUrlInBrowserAsNewTask(this@ArticleFragment.item)
} catch (e: IllegalStateException) { } catch (e: IllegalStateException) {
e.sendSilentlyWithAcraWithName("Context required is null") e.sendSilentlyWithAcraWithName("After failing context required is null")
} }
} }