Skip to content
Open
Show file tree
Hide file tree
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 @@ -541,6 +541,15 @@ private void completeInitiatingFuture(final Throwable err) {
}
catch (IgniteCheckedException e) {
log.error("Failed to unmarshal deployment error.", e);

Exception ex = new IgniteCheckedException(
"Failed to unmarshal deployment error! See server logs for details."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"Failed to unmarshal deployment error! See server logs for details."
"Failed to unmarshal deployment error, see server logs for details."

);

if (depErr == null)
depErr = ex;
else
depErr.addSuppressed(ex);
}
}

Expand Down Expand Up @@ -685,6 +694,19 @@ private void attachDeploymentErrors(@NotNull ServiceSingleNodeDeploymentResult d
}
catch (IgniteCheckedException e) {
log.error("Failed to marshal deployment error, err=" + th, e);

try {
Exception ex = new IgniteCheckedException(
"Failed to marshal deployment error! See server logs for details, err=" + th
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"Failed to marshal deployment error! See server logs for details, err=" + th
"Failed to marshal deployment error, see server logs for details. Deployment error: " + th

);

byte[] arr = U.marshal(ctx, ex);

errorsBytes.add(arr);
}
catch (IgniteCheckedException ex) {
log.error("Failed to attach marshal deployment error to the message, err=" + th, ex);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
log.error("Failed to attach marshal deployment error to the message, err=" + th, ex);
log.error("Failed to attach deployment error information to deployment result message", ex);

}
}
}

Expand Down

This file was deleted.

Loading
Loading