File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
WordPress/src/main/java/org/wordpress/android/support/logs/ui Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import androidx.compose.ui.text.font.FontFamily
2525import androidx.compose.ui.tooling.preview.Preview
2626import androidx.compose.ui.unit.dp
2727import androidx.compose.ui.unit.sp
28- import androidx.core.text.HtmlCompat
2928import org.wordpress.android.R
3029import org.wordpress.android.support.logs.model.LogFile
3130import org.wordpress.android.ui.compose.components.MainTopAppBar
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ class LogsActivity : AppCompatActivity() {
145145 }
146146 }
147147
148+ @Suppress(" TooGenericExceptionCaught" )
148149 private fun shareLogFile (cachedFile : File ) {
149150 try {
150151 val uri = FileProvider .getUriForFile(
Original file line number Diff line number Diff line change @@ -107,7 +107,10 @@ class LogsViewModel @Inject constructor(
107107
108108 _actionEvents .emit(ActionEvent .ShareLogFile (cachedFile))
109109 } catch (throwable: Throwable ) {
110- appLogWrapper.e(AppLog .T .SUPPORT , " Error preparing log file for sharing: ${throwable.stackTraceToString()} " )
110+ appLogWrapper.e(
111+ AppLog .T .SUPPORT ,
112+ " Error preparing log file for sharing: ${throwable.stackTraceToString()} "
113+ )
111114 _errorMessage .value = ErrorType .GENERAL
112115 }
113116 }
You can’t perform that action at this time.
0 commit comments