Show More
@@ -117,7 +117,7 b' class SettingsController(BaseController)' | |||
|
117 | 117 | if setting_id == 'whoosh': |
|
118 | 118 | repo_location = self.get_hg_ui_settings()['paths_root_path'] |
|
119 | 119 | full_index = request.POST.get('full_index', False) |
|
120 |
|
|
|
120 | run_task(tasks.whoosh_index, repo_location, full_index) | |
|
121 | 121 | |
|
122 | 122 | h.flash(_('Whoosh reindex task scheduled'), category='success') |
|
123 | 123 | if setting_id == 'global': |
@@ -147,7 +147,7 b' class SettingsController(BaseController)' | |||
|
147 | 147 | h.flash(_('Updated application settings'), |
|
148 | 148 | category='success') |
|
149 | 149 | |
|
150 | except: | |
|
150 | except Exception: | |
|
151 | 151 | log.error(traceback.format_exc()) |
|
152 | 152 | h.flash(_('error occurred during updating application settings'), |
|
153 | 153 | category='error') |
General Comments 0
You need to be logged in to leave comments.
Login now