Skip to content

response body from image+url request for better error reporting #2334#2350

Open
mithrandirii wants to merge 2 commits intoeclipse-birt:masterfrom
mithrandirii:master
Open

response body from image+url request for better error reporting #2334#2350
mithrandirii wants to merge 2 commits intoeclipse-birt:masterfrom
mithrandirii:master

Conversation

@mithrandirii
Copy link
Copy Markdown

@mithrandirii mithrandirii commented Dec 15, 2025

Added response body to failed responses in ResourceLocatorWrapper #2334

…se-birt#2334

Added response body to failed responses in ResourceLocatorWrapper
@mithrandirii mithrandirii changed the title WIP: response body from image+url request for better error reporting #2334 response body from image+url request for better error reporting #2334 Dec 15, 2025
Copy link
Copy Markdown
Contributor

@hvbtup hvbtup left a comment

Choose a reason for hiding this comment

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

I don't know if this routine can also be called for other types of URLs, eg file URLs.
I think the error body "No HTTP-Protocol" is useless and even misleading in this case.
extractErrorBody should only be called for HTTP protocols.

@mithrandirii
Copy link
Copy Markdown
Author

@hvbtup valid point, i changed the pull-request

@merks
Copy link
Copy Markdown
Contributor

merks commented Dec 17, 2025

@mithrandirii

This seems fine. Could you please share what the resulting error looks like?

@wimjongman
Copy link
Copy Markdown
Contributor

@mithrandirii

This seems fine. Could you please share what the resulting error looks like?

@mithrandirii Can you please respond?

@wimjongman wimjongman added this to the 4.23 milestone Feb 12, 2026
@wimjongman wimjongman modified the milestones: 4.23, 4.24 Mar 11, 2026
@wimjongman
Copy link
Copy Markdown
Contributor

Moved to 4.24

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.

4 participants