Browse Source

use console error instead of throw

pull/11/head
garritfra 5 years ago
parent
commit
318bfd0df4
  1. 2
      frontend/src/BlockList.tsx

2
frontend/src/BlockList.tsx

@ -7,7 +7,7 @@ export default function BlockList() {
let backendUrl = process.env.BACKEND_ADDRESS!; let backendUrl = process.env.BACKEND_ADDRESS!;
if (backendUrl === undefined) { 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 => { const blocksComponent = blocks.map(block => {

Loading…
Cancel
Save