Skip to content

[Eventgrid] Improve error message when providing wrong authentication #15939

@rakshith91

Description

@rakshith91

Upon providing wrong key for authentication during publisher client, we get

UnboundLocalError: local variable 'authentication_policy' referenced before assignment on providing wrong credential in the publisher client

This message must improve - perhaps start with insisting on providing an AzureKeyCredential?

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Event GridMessagingMessaging crewblocking-releaseBlocks release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions