Skip to content

fix: show error details in preset catalog config read failure (import of github/spec-kit#3840) - #129

Open
one-kash wants to merge 1 commit into
mainfrom
import/pr-3840
Open

fix: show error details in preset catalog config read failure (import of github/spec-kit#3840)#129
one-kash wants to merge 1 commit into
mainfrom
import/pr-3840

Conversation

@one-kash

Copy link
Copy Markdown

Imported from upstream PR github#3840
Original author: @Quratulain-bilal
Original head branch: fix/presets-show-error


Summary

Capture and display exception message when reading preset-catalogs.yml fails.

Changes

  • _commands.py: Added as e to except clause and display error details

Capture and display the exception message when reading preset-catalogs.yml
fails, instead of swallowing the error details. Matches the pattern used
in preset_catalog_add 54 lines earlier.
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

Successfully merging this pull request may close these issues.

2 participants