Skip to content

Print accessToken when error happened #387

@ling595659851

Description

@ling595659851

Expected behavior

https://docs.microsoft.com/en-us/graph/api/event-get?view=graph-rest-1.0&tabs=http
I use the graph sdk for java to get the event info, but I got wrong parameter to the request, the error should printed without any sensitive infomation.

Actual behavior

the accessToken was printed in exception
image

Steps to reproduce the behavior

graphServiceClient.me().calendars("email").events(changedEventId).buildRequest(requestOptions).expand(EXTEND_PROPERTIES).get()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions