Skip to content

fix: narrow exception in kimi skill detection from Exception to specific types - #3923

Open
Quratulain-bilal wants to merge 1 commit into
github:mainfrom
Quratulain-bilal:fix/kimi-narrow-exception
Open

fix: narrow exception in kimi skill detection from Exception to specific types#3923
Quratulain-bilal wants to merge 1 commit into
github:mainfrom
Quratulain-bilal:fix/kimi-narrow-exception

Conversation

@Quratulain-bilal

Copy link
Copy Markdown
Contributor

Problem

Bare except Exception catches everything including MemoryError, RecursionError, etc.

Fix

Narrow to (ImportError, yaml.YAMLError) which are the realistic failure modes.

…fic types

Bare 'except Exception' catches everything including MemoryError,
RecursionError, etc. Narrow to (ImportError, yaml.YAMLError) which
are the realistic failure modes.
@Quratulain-bilal
Quratulain-bilal requested a review from mnriem as a code owner July 31, 2026 15:50
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.

1 participant