TF-4136 Add config Sentry

This commit is contained in:
dab246
2026-01-15 09:46:51 +07:00
committed by Dat H. Pham
parent ad768f1552
commit ec75bb3cab
46 changed files with 804 additions and 216 deletions
@@ -62,7 +62,7 @@ class UploadAttachment with EquatableMixin {
_updateEvent(Right(SuccessAttachmentUploadState(uploadTaskId, attachment, fileInfo)));
} catch (error, stackTrace) {
logWarning('UploadAttachment::upload():ERROR: $error');
if (error is DioError && error.type == DioErrorType.cancel) {
if (error is DioException && error.type == DioExceptionType.cancel) {
_updateEvent(Left(CancelAttachmentUploadState(uploadTaskId)));
} else {
try {