Show More
@@ -172,13 +172,15 b' def loadall(ui):' | |||||
172 | try: |
|
172 | try: | |
173 | load(ui, name, path) |
|
173 | load(ui, name, path) | |
174 | except Exception as inst: |
|
174 | except Exception as inst: | |
175 |
|
|
175 | msg = _forbytes(inst) | |
176 | if path: |
|
176 | if path: | |
177 | ui.warn(_("*** failed to import extension %s from %s: %s\n") |
|
177 | ui.warn(_("*** failed to import extension %s from %s: %s\n") | |
178 |
% (name, path, |
|
178 | % (name, path, msg)) | |
179 | else: |
|
179 | else: | |
180 | ui.warn(_("*** failed to import extension %s: %s\n") |
|
180 | ui.warn(_("*** failed to import extension %s: %s\n") | |
181 |
% (name, |
|
181 | % (name, msg)) | |
|
182 | if isinstance(inst, error.Hint) and inst.hint: | |||
|
183 | ui.warn(_("*** (%s)\n") % inst.hint) | |||
182 | ui.traceback() |
|
184 | ui.traceback() | |
183 |
|
185 | |||
184 | for name in _order[newindex:]: |
|
186 | for name in _order[newindex:]: |
General Comments 0
You need to be logged in to leave comments.
Login now