chore: dont supress errors server side
not required after https://github.com/frappe/frappe/pull/16284
diff --git a/erpnext/stock/stock_ledger.py b/erpnext/stock/stock_ledger.py
index 353bfa4..1aaaad2 100644
--- a/erpnext/stock/stock_ledger.py
+++ b/erpnext/stock/stock_ledger.py
@@ -1040,7 +1040,6 @@
if not allow_zero_rate and not valuation_rate and raise_error_if_no_rate \
and cint(erpnext.is_perpetual_inventory_enabled(company)):
- frappe.local.message_log = []
form_link = get_link_to_form("Item", item_code)
message = _("Valuation Rate for the Item {0}, is required to do accounting entries for {1} {2}.").format(form_link, voucher_type, voucher_no)