Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix(sales): log Paperless Parts webhook errors instead of swallowing them (#1620)
Brad Barbin605c6c451a02
diff --git a/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.ts b/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.tsindex ca10a93d70..4addaa6308 100644--- a/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.ts+++ b/apps/erp/app/routes/api+/webhook.paperless-parts.$companyId.ts@@ -157,7 +157,12 @@ export async function action({ request, params }: ActionFunctionArgs) {});return { success: true };- } catch (_err) {+ } catch (err) {+ logger.error("Paperless Parts webhook failed", {+ companyId,+ error: err instanceof Error ? err.message : String(err),+ stack: err instanceof Error ? err.stack : undefined+ });return data({ success: false }, { status: 500 });}}