TF-4136 Add config Sentry
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user