make the message for addons failing to parse a little more descriptive (suggested in report [#37196]).

This commit is contained in:
Campbell Barton 2013-10-24 20:17:30 +00:00
parent 4e96e04643
commit 58db4b70f3

@ -128,7 +128,7 @@ def modules_refresh(module_cache=addons_fake_modules):
mod.__file__ = mod_path
mod.__time__ = os.path.getmtime(mod_path)
except:
print("AST error in module %s" % mod_name)
print("AST error parsing bl_info for %s" % mod_name)
import traceback
traceback.print_exc()
raise