-
Notifications
You must be signed in to change notification settings - Fork 41
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
Handling errors in projects.cfg #282
Comments
I accidentally had placed the contents of
|
Yes, this is a very good idea. Showing users a traceback is not very friendly. This is also related to #273 which proposes that there should be default values for configuration settings. Many errors like this would be fixed by defaults, but obviously not all of them - for example a project without a |
Some syntax errors of
projects.cfg
produce a lengthy generic Python error message, see e.g. https://groups.google.com/d/msg/annif-users/kIvJPbZ-vVU/zXDYFm6PAgAJA more concise/specific error message would be better. Some errors are already handled, for example this exists:
"Error: Project 'maui-fi': vocab setting is missing"
The text was updated successfully, but these errors were encountered: