Skip to content

Commit

Permalink
BXC-4360 fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharon Luong committed Jan 17, 2024
1 parent 21aa47a commit 030264a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void download(@PathVariable("key") String accessKey, HttpServletRequest r
}
} catch (IOException e) {
log.error("Download single use link did not work:", e);
throw new RepositoryException("Single use key is not valid: " + accessKey);
throw new RepositoryException("Failed to download file using single use access key: " + accessKey);
}
}
}

0 comments on commit 030264a

Please sign in to comment.