TF-2628 [Part-2] Add attachment property to DownloadAttachmentForWebFailure & ViewAttachmentForWebFailure
This commit is contained in:
@@ -72,6 +72,7 @@ class DownloadAttachmentForWebInteractor {
|
||||
} catch (exception) {
|
||||
yield Left<Failure, Success>(
|
||||
DownloadAttachmentForWebFailure(
|
||||
attachmentBlobId: attachment.blobId,
|
||||
taskId: taskId,
|
||||
exception: exception
|
||||
)
|
||||
|
||||
@@ -34,6 +34,7 @@ class ViewAttachmentForWebInteractor {
|
||||
(failure) {
|
||||
if (failure is DownloadAttachmentForWebFailure) {
|
||||
return Left(ViewAttachmentForWebFailure(
|
||||
attachmentBlobId: attachment.blobId,
|
||||
taskId: failure.taskId,
|
||||
exception: failure.exception,
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user