valhallasw added a comment. Alternatively, separating the ImportError caused by 'I can't find the file families/wikidata_family.py' from an ImportError caused by 'I tried to load families/wikidata_family.py, but there's a syntax error, or I can't load a dependency, or ...'
I think separating the ImportError and KeyError is probably good enough, or even just adding the exception message to the re-raised exception. TASK DETAIL https://phabricator.wikimedia.org/T60878 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: valhallasw Cc: jayvdb, valhallasw, pywikibot-bugs-list, Ladsgroup _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
