Skip to content

Commit 926d59f

Browse files
committed
throw a masked exception
1 parent 4f3c709 commit 926d59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/uid2/shared/vertx/CloudSyncVerticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ private void cloudDownloadBlocking(String s3Path) throws Exception {
401401
downloadFailureTimer.record(java.time.Duration.ofMillis(cloudDownloadTimeMs));
402402
// Be careful as the s3Path may contain the pre-signed S3 token, so do not log the whole path
403403
LOGGER.error("download error: " + ex.getClass().getSimpleName());
404-
throw ex;
404+
throw new CloudStorageException("Download failed");
405405
}
406406
}
407407

0 commit comments

Comments
 (0)