Skip to content

xuy-UID2-4736-update-error-code-format #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public InputStream download(String cloudPath) throws CloudStorageException {
if (responseCode >= 200 && responseCode < 300) {
return httpConn.getInputStream();
} else {
throw new CloudStorageException("Cannot download required files, HTTP response code " + responseCode
+ ", please visit UID2 guides for more details");
throw new CloudStorageException("E20: CloudStorageDownloadError, please check error code for the installed environment at"
+ " https://unifiedid.com/docs/guides/integration-options-private-operator, HTTP response code: " + responseCode);
}
}
catch (CloudStorageException e) {
Expand All @@ -58,8 +58,8 @@ public InputStream download(String cloudPath) throws CloudStorageException {
}
catch (Throwable t) {
// Do not log the original exception as it may contain sensitive information such as the pre-signed URL
throw new CloudStorageException("Cannot download required files, exception: " + t.getClass().getSimpleName() +
", please visit UID2 guides for more details");
throw new CloudStorageException("E20: CloudStorageDownloadError, please check error code for the installed environment at"
+ " https://unifiedid.com/docs/guides/integration-options-private-operator, exception: " + t.getClass().getSimpleName());
}
}

Expand Down
Loading