Skip to content

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

@mithrandirii

Description

@mithrandirii

we implemented a birt 4.21 report server with spring boot 3.5 and openjdk 21. the report service has a rest api to render birt reports in pdf.

in this reports we are using dynamic image items with http url. if a http request to an image url fails we only get a request failed log message. but we need the more detailed error message from the response body (json) of the image request.

now my question is: is there any chance to extend, intercept, or override the part which does the http request to forward the response body to the log message if a request fails?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions