From 7b7f728740be104d2990a0fc5f1c6484d15c49db Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 1 Apr 2021 15:44:39 -0400 Subject: [PATCH] only _try_ to yarn install... --- relay/service.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/relay/service.js b/relay/service.js index 375c7c7..5f6b3ff 100644 --- a/relay/service.js +++ b/relay/service.js @@ -12,7 +12,11 @@ const { config } = require('../package.json'); const express = require('express'); const app = express(); -appendLogs('yarn', execSync(`yarn`)); +try { + appendLogs('yarn', execSync(`yarn`)); +} catch (e) { + appendLogs('failed to yarn install...') +} logp('=================================='); logp('Starting Valnet Node as a Service!');