feat(setup_wizard): store error in error log as well
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
838a49ebc2
commit
461f479b45
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ def process_setup_stages(stages, user_input, is_background_task=False):
|
|||
task.get("fn")(task.get("args"))
|
||||
except Exception:
|
||||
handle_setup_exception(user_input)
|
||||
frappe.log_error(title=f"Setup failed: {current_task.get('fail_msg')}")
|
||||
if not is_background_task:
|
||||
raise
|
||||
frappe.publish_realtime(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue