fix: ignore disable_traceback if _dev_server is True
This commit is contained in:
parent
1693991702
commit
4f374ee1c9
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def is_traceback_allowed():
|
|||
return (
|
||||
frappe.db
|
||||
and frappe.get_system_settings("allow_error_traceback")
|
||||
and not frappe.local.flags.disable_traceback
|
||||
and (not frappe.local.flags.disable_traceback or frappe._dev_server)
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue