chore(synapse): unify import error messages for missing AI dependencies#84
Conversation
|
This PR standardizes ImportError messages for missing AI dependencies to improve clarity and debugging consistency. Happy to adjust wording if needed. |
|
Hi @IshanikaAurelia1106 ! Thanks for your PR and welcome to "Logseq Matryca Parser" I'm studying your contribution and I'll keep you updated. Marco |
|
Hi @IshanikaAurelia1106 — thank you for opening this PR and welcome to the project! Unifying the SYNAPSE CI is currently failing (3 tests in Before this is merge-ready, could you please:
Branch hygiene: one PR per concern is perfect here — please keep this scoped to SYNAPSE import errors only. Happy to re-review once CI is green. Thanks again for contributing! |
This PR improves and unifies import error messages when AI-related dependencies are missing.
Previously, different modules raised inconsistent ImportError messages, making debugging harder.
This PR standardizes those messages to provide a clearer and more user-friendly explanation when optional AI dependencies are not installed.
Before / After Example
Before:
ModuleNotFoundError: No module named 'xyz'
After:
AI dependency missing: please install optional package 'xyz'
Type of change
Checklist