<gh_stars>1-10
import frappe

def execute():
    frappe.reload_doc('core', 'doctype', 'system_settings')
    frappe.db.sql("update `tabSystem Settings` set allow_error_traceback=1")

import frappe

def execute():
    frappe.reload_doc('core', 'doctype', 'system_settings')
    frappe.db.sql("update `tabSystem Settings` set allow_error_traceback=1")