Skip to content

Unable to access responseHeaders for GraphServiceException #335

@BillCollabAuth

Description

@BillCollabAuth

I want to be able to log the responseHeaders for cases where a GraphServiceException is caught. I am running into difficulty when accessing the responseHeaders for logging, because the responseHeaders attribute is private without any public getters.
I would like to avoid using #getMessage(final boolean verbose) with verbose true since this exposes the access token.
Any suggestions? Any advice would be greatly appreciated.
AB#6031

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions