fix: Replace "<br>" with "\n" (#27854)
This commit is contained in:
parent
d3248612cb
commit
6c210dc9d1
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ def load_doctype_module(doctype, module=None, prefix="", suffix=""):
|
|||
doctype_python_modules[key] = frappe.get_module(module_name)
|
||||
except ImportError as e:
|
||||
msg = f"Module import failed for {doctype}, the DocType you're trying to open might be deleted."
|
||||
msg += f"<br> Error: {e}"
|
||||
msg += f"\nError: {e}"
|
||||
raise ImportError(msg) from e
|
||||
|
||||
return doctype_python_modules[key]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue