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!');