Skip to content

401 status leads to a big dump of data on the console #22

Description

@PhilHannent

I've been seeing a large dump of data on the console when doing Autodiscovery and the user in question is returning a 401 status.

I think the line in question is around here:
https://github.com/ewsjs/xhr/blob/master/src/xhrApi.ts#L182

As the error is wrapped up and thrown, it gets into the ews-javascript-api library where it then loses context for me to handle. Any suggestion about how 401's could be propagated and handled?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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