Skip to content

Bug report: specifying invalid JMESPath queries throws an unhandled exception #2279

@waldekmastykarz

Description

@waldekmastykarz

Description

Specifying invalid JMESPath queries throws an unhandled exception

Steps to reproduce

m365 spo site classic list -o json --query "contains(abc)"

Expected result

Ideally an error explaining what's wrong and how to fix it.

Actual result

Unhandled exception

Environment

CLI v3.7

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions