Skip to content

Conversation

@bhufmann
Copy link
Contributor

What it does

Return the ErrorResponse message in the getStatusMessage() of TspClientResponse.

Contributes to fix issue:

eclipse-cdt-cloud/trace-server-protocol#122

How to test

Code review and use it in a FE (e.g. vscode-trace-extension) and try an example error case, e.g. open trace with file that is not a trace.

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

Copy link
Contributor

@marcdumais-work marcdumais-work left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for this improvement!

note: I tested using the trace server from this PR:
eclipse-tracecompass-incubator/org.eclipse.tracecompass.incubator#208

@bhufmann bhufmann force-pushed the errorResponse branch 2 times, most recently from 3ed2a4f to 8c06fdb Compare July 18, 2025 21:26
@bhufmann bhufmann requested a review from MatthewKhouzam July 21, 2025 12:38
Return optional ErrorResponse in new method getErrorResponse() of
TspClientResponse.

Contributes to fix issue:

eclipse-cdt-cloud/trace-server-protocol#122

Signed-off-by: Bernd Hufmann <[email protected]>
Copy link

@MatthewKhouzam MatthewKhouzam left a comment

Choose a reason for hiding this comment

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

Looks good!

@bhufmann bhufmann merged commit a1fdd4c into eclipse-cdt-cloud:master Jul 22, 2025
7 checks passed
@bhufmann bhufmann deleted the errorResponse branch July 22, 2025 20:41
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.

3 participants