-
Notifications
You must be signed in to change notification settings - Fork 54
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
Importers return errors with full tracebacks #421
Comments
I don't believe there's a way to do that -- in theory there could be some customization around returning a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using importers in my project. Sometimes I need to raise an exception inside them because the path to a scss file is wrong. I want to show a simple message to my users that the file was not found. The problem is that libsass converts exception from importer to a string with full traceback. I don't want to show traceback to the user.
How can I get rid of the traceback? Can libsass throw a python exception instead of converting it to a string?
Example:
Output:
The text was updated successfully, but these errors were encountered: