From 318bfd0df4ba2061ac7ee0978e8328c6baff223a Mon Sep 17 00:00:00 2001 From: garritfra Date: Thu, 7 Mar 2019 18:26:03 +0100 Subject: [PATCH] use console error instead of throw --- frontend/src/BlockList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/BlockList.tsx b/frontend/src/BlockList.tsx index ee77133..3b252a0 100644 --- a/frontend/src/BlockList.tsx +++ b/frontend/src/BlockList.tsx @@ -7,7 +7,7 @@ export default function BlockList() { let backendUrl = process.env.BACKEND_ADDRESS!; if (backendUrl === undefined) { - throw Error("backend address not specified in ENV variable"); + console.error("backend address not specified in ENV variable"); } const blocksComponent = blocks.map(block => {