TF-4136 refactor(logging): replace logError with logWarning for non-critical cases

This commit is contained in:
dab246
2026-01-02 12:18:38 +07:00
committed by Dat H. Pham
parent 73dcb6067c
commit a23d15a9ca
160 changed files with 382 additions and 360 deletions
@@ -161,7 +161,7 @@ class _PDFViewerState extends State<PDFViewer> {
previewerOptions: PreviewerOptions(
previewerState: previewerState,
onError: (error) {
logError('_PDFViewerState::build:openData:onError:: $error');
logWarning('_PDFViewerState::build:openData:onError:: $error');
_pdfViewStateNotifier.value = DownloadAttachmentForWebFailure(exception: error);
},
errorMessage: AppLocalizations.of(context).noPreviewAvailable,