From d07983bc1fa691821cc2580ce4490638cee4f630 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Wed, 8 Jan 2020 17:31:14 +1100 Subject: Catch nebulas error on some chrome configs See #395 --- libs/combined/index.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs') diff --git a/libs/combined/index.js b/libs/combined/index.js index 1de5b92..6760e0c 100644 --- a/libs/combined/index.js +++ b/libs/combined/index.js @@ -54,7 +54,13 @@ module.exports.kjua = require('kjua') /* nebulas */ +try { module.exports.nebulas = require('nebulas') +} +catch (e) { + console.warn("Error loading nebulas library"); + console.warn(e); +}; /* stellar-util */ -- cgit v1.2.3