Better error message when gramplet fails to load
svn: r13884
This commit is contained in:
parent
9a397544a2
commit
feb13b4a79
@ -166,7 +166,8 @@ def make_requested_gramplet(viewpage, name, opts, dbstate, uistate):
|
||||
if module:
|
||||
getattr(module, opts["content"])(gui)
|
||||
else:
|
||||
print "Unregistered gramplet '%s': skipping content" % opts["name"]
|
||||
print "Error loading gramplet '%s': skipping content" \
|
||||
% opts["name"]
|
||||
# now that we have user code, set the tooltips
|
||||
msg = gui.tooltip
|
||||
if msg is None:
|
||||
|
Loading…
Reference in New Issue
Block a user