Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logging output from Nimma when a custom function errors #236

Open
jimkidd2048 opened this issue May 7, 2024 · 0 comments
Open

Comments

@jimkidd2048
Copy link

For support questions, please use the Stoplight Community Forum. This repository's issues are reserved for feature requests and bug reports. If you are unsure if you are experiencing a bug, the Community Forum is a great place to start.

Describe the bug

when validating a yaml document the linting stops and following notification appears.

image

The spectral output channel has the following error:

[Error - 4:31:33 PM] An error occurred while validating document file:///xxxV1.yaml: AggregateError: Error running Nimma

It looks like the same issue was reported and corrected in the CLI repo: stoplightio/spectral#2053

Environment:

  • Extension version: v1.1.2
  • VS Code version:
    Version: 1.89.0 (user setup)
    Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
    Date: 2024-05-01T02:09:22.859Z
    Electron: 28.2.8
    ElectronBuildId: 27744544
    Chromium: 120.0.6099.291
    Node.js: 18.18.2
    V8: 12.0.267.19-electron.0
    OS: Windows_NT x64 10.0.19045
  • Operating System: Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant