I wish to solve the following bug:
https://github.com/frappe/frappe/issues/5886
What would be the correct approach?
Should we just check if the doctype exists then and only then maintain a log or should we migrate the doctype from ERPNext to Frappe?