Skip to content
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

Fixed missing remote build errors #212

Merged
merged 1 commit into from
Oct 14, 2021
Merged

Conversation

JCash
Copy link
Contributor

@JCash JCash commented Oct 14, 2021

No description provided.

@JCash JCash requested a review from britzl October 14, 2021 09:05
if (isClientError(response)) {
throw new ExtenderException("Client error when building engine remotely: " + getStatusReason(response));
String error = getErrorString(response);
LOGGER.error("Client error when building engine remotely:\n{}", error);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to return the actual error message.
The status is just a protocol for use to determine what type of error the remote server produced: build error (ok) or server error (not ok)
In the case of a build error, we want to attach the message to the exception that is passed upwards.

@JCash JCash merged commit 2c83097 into beta Oct 14, 2021
@JCash JCash deleted the remote-build-error-message-fix branch October 14, 2021 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants