Skip to content

Commit

Permalink
removed redundant recover
Browse files Browse the repository at this point in the history
Co-authored-by: David Blatcher <[email protected]>
  • Loading branch information
twrichards and dblatcher committed Dec 19, 2023
1 parent eb53482 commit 424aac9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions image-loader/app/controllers/ImageLoaderController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ class ImageLoaderController(auth: Authentication,
}

handleUploadCompletionAndUpdateUploadStatusTable(futureUploadStatusUri, digestedFile)
.recover {
case t:Throwable => Future.failed(t)
case _ => Future.failed(new Exception)
}
.map(_ => digestedFile)
}

Expand Down

0 comments on commit 424aac9

Please sign in to comment.