Skip to content

Handling of Get-NotebookContent conversion failures #21

@SQLvariant

Description

@SQLvariant

It would be great if Get-NotebookContent could be a little more graceful when it runs into an error converting the JSON of a .ipynb file.

For example, this command brings back an error when it tries to process an empty file that just happens to have an .ipynb file extension.

dir -Filter *.ipynb | 
Get-Notebook -Path $_.FullName | 
Group KernelName

Instead of an error, a simple warning message might be better?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions