From 67efc4e995278fc6454931689c5303ab2944afdb Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Tue, 10 Mar 2020 18:11:11 -0400 Subject: [PATCH] no SEA throw (gun bug) --- services/gunDB/Mediator/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index 29c30cff..5b8cda26 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -13,8 +13,9 @@ const Encryption = require('../../../utils/encryptionStore') /** @type {import('../contact-api/SimpleGUN').ISEA} */ // @ts-ignore const SEAx = require('gun/sea') -// @ts-ignore -SEAx.throw = true +// Re-enable in the future, when SEA errors inside user.auth/etc actually +// propagate up. +// SEAx.throw = true /** @type {import('../contact-api/SimpleGUN').ISEA} */ const mySEA = {}